2015-09-05 05:50:29 +02:00
|
|
|
project(fcdlib)
|
|
|
|
|
|
|
|
set(fcdlib_SOURCES
|
|
|
|
fcdtraits.cpp
|
2015-09-05 06:53:49 +02:00
|
|
|
fcdproplusconst.cpp
|
2015-09-07 02:53:32 +02:00
|
|
|
fcdproconst.cpp
|
2015-09-05 05:50:29 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set(fcdlib_HEADERS
|
|
|
|
fcdtraits.h
|
2015-09-05 06:53:49 +02:00
|
|
|
fcdproplusconst.h
|
2015-09-07 02:53:32 +02:00
|
|
|
fcdproconst.h
|
2022-05-29 21:26:04 +01:00
|
|
|
export.h
|
2015-09-05 05:50:29 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(fcdlib SHARED
|
|
|
|
${fcdlib_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(fcdlib)
|
2016-02-24 11:51:36 +01:00
|
|
|
|
2022-05-29 21:26:04 +01:00
|
|
|
set_target_properties(fcdlib PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS true)
|
|
|
|
if (MSVC)
|
|
|
|
set_target_properties(fcdlib PROPERTIES INTERPROCEDURAL_OPTIMIZATION false)
|
|
|
|
set_target_properties(fcdlib PROPERTIES DEFINE_SYMBOL "FCDLIB_EXPORTS")
|
|
|
|
endif()
|
|
|
|
|
2019-05-01 11:54:58 +02:00
|
|
|
install(TARGETS fcdlib DESTINATION ${INSTALL_LIB_DIR})
|