Compare commits
2 Commits
5b167fd53b
...
c90a8449be
Author | SHA1 | Date | |
---|---|---|---|
c90a8449be | |||
95dcd6bee7 |
2
deps/teagba/src/CMakeLists.txt
vendored
2
deps/teagba/src/CMakeLists.txt
vendored
@ -6,7 +6,7 @@ add_library(
|
||||
gfx.cpp
|
||||
)
|
||||
|
||||
if(TURBINE_BUILD_TYPE STREQUAL "GBA")
|
||||
if(BUILDCORE_TARGET STREQUAL "gba")
|
||||
set_source_files_properties(gfx.cpp PROPERTIES COMPILE_FLAGS -marm)
|
||||
target_sources(
|
||||
TeaGBA PRIVATE
|
||||
|
@ -1,10 +1,15 @@
|
||||
add_library(Turbine)
|
||||
|
||||
set(TURBINE_BACKEND_GBA ${TURBINE_BUILD_TYPE} STREQUAL "GBA")
|
||||
set(TURBINE_BACKEND_GLFW NOT ${TURBINE_BACKEND_GBA})
|
||||
if(TURBINE_BUILD_TYPE STREQUAL "GBA")
|
||||
set(TURBINE_BACKEND_GBA TRUE)
|
||||
set(TURBINE_BACKEND_GLFW FALSE)
|
||||
else()
|
||||
set(TURBINE_BACKEND_GBA FALSE)
|
||||
set(TURBINE_BACKEND_GLFW TRUE)
|
||||
endif()
|
||||
|
||||
add_subdirectory(gba)
|
||||
if(${TURBINE_BACKEND_GLFW})
|
||||
if(TURBINE_BACKEND_GLFW)
|
||||
add_subdirectory(glfw)
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user