1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-10-05 07:40:07 +00:00

Minor cmake refactoring

This commit is contained in:
2022-03-14 00:51:11 -05:00
parent 1d7efeba24
commit 9432aaf594
7 changed files with 13 additions and 7 deletions

View File

@@ -9,7 +9,8 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# compile LaikaShell
file(GLOB_RECURSE SHELLSOURCE ${CMAKE_CURRENT_SOURCE_DIR}/src/**.c)
add_executable(LaikaShell ${SHELLSOURCE})
file(GLOB_RECURSE SHELLHEADERS ${CMAKE_CURRENT_SOURCE_DIR}/include/**.h)
add_executable(LaikaShell ${SHELLSOURCE} ${SHELLHEADERS})
target_link_libraries(LaikaShell PUBLIC LaikaLib)
# add the 'DEBUG' preprocessor definition if we're compiling as Debug