Выделил переиспользуемые модули из проекта.
This commit is contained in:
parent
3fe2a87e35
commit
7c83d9c93e
15 changed files with 287 additions and 207 deletions
18
utils-lib/CMakeLists.txt
Normal file
18
utils-lib/CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
add_library(utils-lib STATIC "")
|
||||
|
||||
set(UTILS_LIB_HEADERS
|
||||
utils.h
|
||||
)
|
||||
|
||||
set(UTILS_LIB_SOURCES
|
||||
utils.cpp
|
||||
)
|
||||
|
||||
target_sources(utils-lib
|
||||
PRIVATE
|
||||
${UTILS_LIB_SOURCES}
|
||||
PUBLIC
|
||||
FILE_SET HEADERS
|
||||
BASE_DIRS ${PROJECT_SOURCE_DIR}
|
||||
FILES ${UTILS_LIB_HEADERS}
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue