[nostalgia,olympic] Cleanup CMake
This commit is contained in:
@@ -23,26 +23,24 @@ install(
|
||||
include/nostalgia/modules
|
||||
)
|
||||
|
||||
if(${OLYMPIC_BUILD_STUDIO})
|
||||
# Studio
|
||||
if(TURBINE_BUILD_TYPE STREQUAL "Native")
|
||||
add_library(
|
||||
NostalgiaStudioModules STATIC
|
||||
studiomodules.cpp
|
||||
)
|
||||
target_link_libraries(
|
||||
NostalgiaStudioModules PUBLIC
|
||||
StudioAppLib
|
||||
NostalgiaCore-Studio-ImGui
|
||||
NostalgiaScene-Studio
|
||||
)
|
||||
install(
|
||||
FILES
|
||||
studiomodules.hpp
|
||||
DESTINATION
|
||||
include/nostalgia/modules
|
||||
)
|
||||
endif()
|
||||
# Studio
|
||||
if(NOSTALGIA_BUILD_STUDIO)
|
||||
add_library(
|
||||
NostalgiaStudioModules STATIC
|
||||
studiomodules.cpp
|
||||
)
|
||||
target_link_libraries(
|
||||
NostalgiaStudioModules PUBLIC
|
||||
StudioAppLib
|
||||
NostalgiaCore-Studio-ImGui
|
||||
NostalgiaScene-Studio
|
||||
)
|
||||
install(
|
||||
FILES
|
||||
studiomodules.hpp
|
||||
DESTINATION
|
||||
include/nostalgia/modules
|
||||
)
|
||||
endif()
|
||||
|
||||
add_library(NostalgiaProfile INTERFACE)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
add_subdirectory(src)
|
||||
if(NOT TURBINE_BUILD_TYPE STREQUAL "GBA")
|
||||
|
||||
if(NOT BUILDCORE_TARGET STREQUAL "gba")
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ add_library(
|
||||
)
|
||||
|
||||
add_subdirectory(gba)
|
||||
if(NOT TURBINE_BUILD_TYPE STREQUAL "GBA")
|
||||
if(NOT BUILDCORE_TARGET STREQUAL "gba")
|
||||
add_subdirectory(opengl)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ target_link_libraries(
|
||||
Turbine
|
||||
)
|
||||
|
||||
if(TURBINE_BUILD_TYPE STREQUAL "GBA")
|
||||
if(BUILDCORE_TARGET STREQUAL "gba")
|
||||
set_source_files_properties(gfx.cpp PROPERTIES COMPILE_FLAGS -marm)
|
||||
target_link_libraries(NostalgiaCore PUBLIC NostalgiaCore-GBA)
|
||||
endif()
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
* Copyright 2016 - 2023 Gary Talent (gary@drinkingtea.net). All rights reserved.
|
||||
*/
|
||||
|
||||
#include <keel/module.hpp>
|
||||
|
||||
#include <studioapp/studioapp.hpp>
|
||||
|
||||
#include <nostalgia/core/studiomodule.hpp>
|
||||
|
||||
Reference in New Issue
Block a user