mirror of
https://github.com/gwm17/catima.git
synced 2024-11-22 18:28:51 -05:00
Changed structure to organize core library in own directory (matches build pathing)
This commit is contained in:
parent
2b990bd1e3
commit
ec7c804af0
|
@ -58,12 +58,12 @@ configure_file("${PROJECT_SOURCE_DIR}/init.sh.in"
|
||||||
"${PROJECT_BINARY_DIR}/init.sh")
|
"${PROJECT_BINARY_DIR}/init.sh")
|
||||||
############### main build ###########################
|
############### main build ###########################
|
||||||
|
|
||||||
file(GLOB SOURCES *.cpp)
|
file(GLOB SOURCES catima/*.cpp)
|
||||||
if(GLOBAL)
|
if(GLOBAL)
|
||||||
file(GLOB GLOBAL_SOURCES global/*.c)
|
file(GLOB GLOBAL_SOURCES global/*.c)
|
||||||
LIST (APPEND SOURCES ${GLOBAL_SOURCES})
|
LIST (APPEND SOURCES ${GLOBAL_SOURCES})
|
||||||
endif(GLOBAL)
|
endif(GLOBAL)
|
||||||
file(GLOB HEADERS *.h libs/*.h)
|
file(GLOB HEADERS catima/*.h libs/*.h)
|
||||||
|
|
||||||
add_library(catima ${SOURCES})
|
add_library(catima ${SOURCES})
|
||||||
set_target_properties(catima PROPERTIES
|
set_target_properties(catima PROPERTIES
|
||||||
|
@ -151,7 +151,7 @@ add_subdirectory("bin")
|
||||||
endif(APPS)
|
endif(APPS)
|
||||||
|
|
||||||
####### install part #######
|
####### install part #######
|
||||||
FILE(GLOB headers "*.h")
|
FILE(GLOB headers "catima/*.h")
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
include(CMakePackageConfigHelpers)
|
include(CMakePackageConfigHelpers)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user