add threaded filewatcher
This commit is contained in:
@@ -44,19 +44,21 @@ add_library(hiload SHARED
|
||||
src/symbols.c
|
||||
src/files.c
|
||||
src/memory.c
|
||||
src/string/string.c
|
||||
src/filewatcher/filewatcher.c
|
||||
|
||||
# dependencies
|
||||
src/string/hi_string.c
|
||||
src/logger/sc_log.c
|
||||
)
|
||||
|
||||
set_property(TARGET hiload PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
target_link_libraries(hiload dl)
|
||||
|
||||
# Specify the public headers location
|
||||
target_include_directories(hiload PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> # During build
|
||||
$<INSTALL_INTERFACE:include> # When installed
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src> # During build
|
||||
$<INSTALL_INTERFACE:include> # When installed
|
||||
)
|
||||
|
||||
install(TARGETS hiload
|
||||
|
||||
Reference in New Issue
Block a user