[nostalgia] Move Olympic app parameters to NostalgiaProfile library
This commit is contained in:
parent
aea1aabcd7
commit
5b929b8796
@ -16,12 +16,6 @@ target_link_libraries(
|
||||
NostalgiaCore-Keel
|
||||
NostalgiaScene-Keel
|
||||
)
|
||||
target_compile_definitions(
|
||||
NostalgiaKeelModules PUBLIC
|
||||
OLYMPIC_PROJECT_NAME="Nostalgia"
|
||||
OLYMPIC_PROJECT_NAMESPACE=nostalgia
|
||||
OLYMPIC_PROJECT_DATADIR=".nostalgia"
|
||||
)
|
||||
install(
|
||||
FILES
|
||||
keelmodules.hpp
|
||||
@ -48,3 +42,11 @@ if(TURBINE_BUILD_TYPE STREQUAL "Native")
|
||||
include/nostalgia/modules
|
||||
)
|
||||
endif()
|
||||
|
||||
add_library(NostalgiaProfile INTERFACE)
|
||||
target_compile_definitions(
|
||||
NostalgiaProfile INTERFACE
|
||||
OLYMPIC_PROJECT_NAME="Nostalgia"
|
||||
OLYMPIC_PROJECT_NAMESPACE=nostalgia
|
||||
OLYMPIC_PROJECT_DATADIR=".nostalgia"
|
||||
)
|
||||
|
@ -1,5 +1,3 @@
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
add_executable(
|
||||
nostalgia-studio WIN32 MACOSX_BUNDLE
|
||||
${OLYMPIC_PATH}/applib/applib.cpp
|
||||
@ -7,6 +5,7 @@ add_executable(
|
||||
|
||||
target_link_libraries(
|
||||
nostalgia-studio
|
||||
NostalgiaProfile
|
||||
NostalgiaStudioModules
|
||||
NostalgiaKeelModules
|
||||
StudioAppLib
|
||||
|
@ -3,7 +3,7 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>nostalgia-studio</string>
|
||||
<string>Nostalgia Studio</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>Nostalgia Studio</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
|
@ -6,6 +6,8 @@ add_executable(
|
||||
target_link_libraries(
|
||||
nostalgia-pack
|
||||
KeelPack-AppLib
|
||||
NostalgiaKeelModules
|
||||
NostalgiaProfile
|
||||
)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND NOT WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user