1
0
Fork 0
mirror of https://github.com/gwm17/catima.git synced 2024-11-22 10:18:50 -05:00

Changed structure to organize core library in own directory (matches build pathing)

This commit is contained in:
Gordon McCann 2022-06-08 11:20:02 -04:00
parent 2b990bd1e3
commit ec7c804af0
32 changed files with 3 additions and 3 deletions

View File

@ -58,12 +58,12 @@ configure_file("${PROJECT_SOURCE_DIR}/init.sh.in"
"${PROJECT_BINARY_DIR}/init.sh")
############### main build ###########################
file(GLOB SOURCES *.cpp)
file(GLOB SOURCES catima/*.cpp)
if(GLOBAL)
file(GLOB GLOBAL_SOURCES global/*.c)
LIST (APPEND SOURCES ${GLOBAL_SOURCES})
endif(GLOBAL)
file(GLOB HEADERS *.h libs/*.h)
file(GLOB HEADERS catima/*.h libs/*.h)
add_library(catima ${SOURCES})
set_target_properties(catima PROPERTIES
@ -151,7 +151,7 @@ add_subdirectory("bin")
endif(APPS)
####### install part #######
FILE(GLOB headers "*.h")
FILE(GLOB headers "catima/*.h")
include(GNUInstallDirs)
include(CMakePackageConfigHelpers)