[keel,nostalgia] AppLib-ize nost-pack
This commit is contained in:
parent
d6f0fe0cc8
commit
a2361c3fd9
@ -43,5 +43,20 @@ install(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if(TURBINE_BUILD_TYPE STREQUAL "Native")
|
if(TURBINE_BUILD_TYPE STREQUAL "Native")
|
||||||
|
add_library(
|
||||||
|
KeelPack-AppLib
|
||||||
|
pack-applib.cpp
|
||||||
|
)
|
||||||
|
target_compile_definitions(
|
||||||
|
KeelPack-AppLib PUBLIC
|
||||||
|
OLYMPIC_LOAD_KEEL_MODULES=1
|
||||||
|
OLYMPIC_APP_NAME="Keel Pack"
|
||||||
|
)
|
||||||
|
target_link_libraries(
|
||||||
|
KeelPack-AppLib
|
||||||
|
OxClArgs
|
||||||
|
OxLogConn
|
||||||
|
NostalgiaKeelModules
|
||||||
|
)
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
endif()
|
endif()
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
add_executable(nost-pack pack.cpp)
|
add_executable(
|
||||||
|
nost-pack
|
||||||
|
${OLYMPIC_PATH}/applib/applib.cpp
|
||||||
|
)
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
nost-pack
|
nost-pack
|
||||||
OxClArgs
|
KeelPack-AppLib
|
||||||
OxLogConn
|
|
||||||
NostalgiaKeelModules
|
|
||||||
)
|
)
|
||||||
|
|
||||||
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