git-subtree-dir: deps/nostalgia git-subtree-split: 9cb6bd4a32e9f39a858f72443ff5c6d40489fe22
22 lines
403 B
CMake
22 lines
403 B
CMake
add_library(
|
|
NostalgiaCore-GBA OBJECT
|
|
context.cpp
|
|
gfx.cpp
|
|
panic.cpp
|
|
)
|
|
target_include_directories(
|
|
NostalgiaCore-GBA PUBLIC
|
|
../../include
|
|
)
|
|
target_link_libraries(
|
|
NostalgiaCore-GBA PUBLIC
|
|
TeaGBA
|
|
Keel
|
|
Turbine
|
|
)
|
|
|
|
if(BUILDCORE_TARGET STREQUAL "gba")
|
|
set_source_files_properties(gfx.cpp PROPERTIES COMPILE_FLAGS -marm)
|
|
target_link_libraries(NostalgiaCore PUBLIC NostalgiaCore-GBA)
|
|
endif()
|