23 lines
566 B
CMake
23 lines
566 B
CMake
|
|
include(${CMAKE_SOURCE_DIR}/build/global_config.cmake)
|
|
set(EXECUTABLE_OUTPUT_PATH ${EXEC_OUTPUT_PATH})
|
|
set(LIBRARY_OUTPUT_PATH ${LIBS_OUTPUT_PATH})
|
|
|
|
include_directories(
|
|
./src
|
|
./include
|
|
${COMPONENT_SOURCE_PATH}/Log/include
|
|
)
|
|
#do not rely on any other library
|
|
# link_directories(
|
|
# ${EXTERNAL_SOURCE_PATH}/curl/curl-8.1.2/build/lib
|
|
# )
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
aux_source_directory(./src SRC_FILES)
|
|
|
|
set(TARGET_NAME FtpServers)
|
|
add_library(${TARGET_NAME} STATIC ${SRC_FILES})
|
|
target_link_libraries(${TARGET_NAME} Log) |