16 lines
314 B
CMake
16 lines
314 B
CMake
aux_source_directory(src COMMON_SRC)
|
|
add_library(common ${COMMON_SRC})
|
|
target_include_directories(
|
|
common
|
|
PUBLIC "${CMAKE_SOURCE_DIR}/include/common"
|
|
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
|
|
)
|
|
target_link_libraries(
|
|
common
|
|
PUBLIC os
|
|
PUBLIC util
|
|
INTERFACE api
|
|
)
|
|
|
|
ADD_SUBDIRECTORY(test)
|