[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
|
NostalgiaCore-Keel
|
||||||
NostalgiaScene-Keel
|
NostalgiaScene-Keel
|
||||||
)
|
)
|
||||||
target_compile_definitions(
|
|
||||||
NostalgiaKeelModules PUBLIC
|
|
||||||
OLYMPIC_PROJECT_NAME="Nostalgia"
|
|
||||||
OLYMPIC_PROJECT_NAMESPACE=nostalgia
|
|
||||||
OLYMPIC_PROJECT_DATADIR=".nostalgia"
|
|
||||||
)
|
|
||||||
install(
|
install(
|
||||||
FILES
|
FILES
|
||||||
keelmodules.hpp
|
keelmodules.hpp
|
||||||
@ -48,3 +42,11 @@ if(TURBINE_BUILD_TYPE STREQUAL "Native")
|
|||||||
include/nostalgia/modules
|
include/nostalgia/modules
|
||||||
)
|
)
|
||||||
endif()
|
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(
|
add_executable(
|
||||||
nostalgia-studio WIN32 MACOSX_BUNDLE
|
nostalgia-studio WIN32 MACOSX_BUNDLE
|
||||||
${OLYMPIC_PATH}/applib/applib.cpp
|
${OLYMPIC_PATH}/applib/applib.cpp
|
||||||
@ -7,6 +5,7 @@ add_executable(
|
|||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
nostalgia-studio
|
nostalgia-studio
|
||||||
|
NostalgiaProfile
|
||||||
NostalgiaStudioModules
|
NostalgiaStudioModules
|
||||||
NostalgiaKeelModules
|
NostalgiaKeelModules
|
||||||
StudioAppLib
|
StudioAppLib
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>nostalgia-studio</string>
|
<string>Nostalgia Studio</string>
|
||||||
<key>CFBundleGetInfoString</key>
|
<key>CFBundleGetInfoString</key>
|
||||||
<string>Nostalgia Studio</string>
|
<string>Nostalgia Studio</string>
|
||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
|
@ -6,6 +6,8 @@ add_executable(
|
|||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
nostalgia-pack
|
nostalgia-pack
|
||||||
KeelPack-AppLib
|
KeelPack-AppLib
|
||||||
|
NostalgiaKeelModules
|
||||||
|
NostalgiaProfile
|
||||||
)
|
)
|
||||||
|
|
||||||
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND NOT WIN32)
|
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND NOT WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user