21 lines
791 B
CMake
21 lines
791 B
CMake
######################################################################################
|
|
### 1) Set all needed source files for the project
|
|
######################################################################################
|
|
|
|
FILE(GLOB HDRS *.h do)
|
|
INSTALL(FILES ${HDRS} DESTINATION include/do COMPONENT headers)
|
|
|
|
FILE(GLOB SOURCES *.cpp)
|
|
|
|
SET(SAMPLE_SRCS ${SOURCES} PARENT_SCOPE)
|
|
|
|
######################################################################################
|
|
|
|
|
|
######################################################################################
|
|
### 2) Where must cmake go now ?
|
|
######################################################################################
|
|
|
|
ADD_SUBDIRECTORY(utils)
|
|
|
|
######################################################################################
|