[keel,nostalgia] AppLib-ize nost-pack

This commit is contained in:
Gary Talent 2023-12-10 22:10:37 -06:00
parent d6f0fe0cc8
commit a2361c3fd9
2 changed files with 20 additions and 4 deletions

View File

@ -43,5 +43,20 @@ install(
)
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)
endif()

View File

@ -1,10 +1,11 @@
add_executable(nost-pack pack.cpp)
add_executable(
nost-pack
${OLYMPIC_PATH}/applib/applib.cpp
)
target_link_libraries(
nost-pack
OxClArgs
OxLogConn
NostalgiaKeelModules
KeelPack-AppLib
)
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND NOT WIN32)