34 lines
466 B
CMake
34 lines
466 B
CMake
add_library(
|
|
NostalgiaCore
|
|
gfx.cpp
|
|
tilesheet.cpp
|
|
)
|
|
|
|
add_subdirectory(gba)
|
|
if(NOT TURBINE_BUILD_TYPE STREQUAL "GBA")
|
|
add_subdirectory(opengl)
|
|
endif()
|
|
|
|
target_include_directories(
|
|
NostalgiaCore PUBLIC
|
|
../include
|
|
)
|
|
|
|
target_link_libraries(
|
|
NostalgiaCore PUBLIC
|
|
Turbine
|
|
)
|
|
|
|
add_subdirectory(keel)
|
|
if(NOSTALGIA_BUILD_STUDIO)
|
|
add_subdirectory(studio)
|
|
endif()
|
|
|
|
install(
|
|
TARGETS
|
|
NostalgiaCore
|
|
DESTINATION
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
)
|