You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
580 B
31 lines
580 B
project(fcdlib) |
|
|
|
set(fcdlib_SOURCES |
|
fcdtraits.cpp |
|
fcdproplusconst.cpp |
|
fcdproconst.cpp |
|
) |
|
|
|
set(fcdlib_HEADERS |
|
fcdtraits.h |
|
fcdproplusconst.h |
|
fcdproconst.h |
|
export.h |
|
) |
|
|
|
include_directories( |
|
) |
|
|
|
add_library(fcdlib SHARED |
|
${fcdlib_SOURCES} |
|
) |
|
|
|
target_link_libraries(fcdlib) |
|
|
|
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() |
|
|
|
install(TARGETS fcdlib DESTINATION ${INSTALL_LIB_DIR})
|
|
|