2015-09-04 23:50:29 -04:00
|
|
|
project(fcdlib)
|
|
|
|
|
|
|
|
set(fcdlib_SOURCES
|
|
|
|
fcdtraits.cpp
|
2015-09-05 00:53:49 -04:00
|
|
|
fcdproplusconst.cpp
|
2015-09-06 20:53:32 -04:00
|
|
|
fcdproconst.cpp
|
2015-09-04 23:50:29 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
set(fcdlib_HEADERS
|
|
|
|
fcdtraits.h
|
2015-09-05 00:53:49 -04:00
|
|
|
fcdproplusconst.h
|
2015-09-06 20:53:32 -04:00
|
|
|
fcdproconst.h
|
2022-05-29 16:26:04 -04:00
|
|
|
export.h
|
2015-09-04 23:50:29 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(fcdlib SHARED
|
|
|
|
${fcdlib_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(fcdlib)
|
2016-02-24 05:51:36 -05:00
|
|
|
|
2022-05-29 16:26:04 -04: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 05:54:58 -04:00
|
|
|
install(TARGETS fcdlib DESTINATION ${INSTALL_LIB_DIR})
|