1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00
sdrangel/fcdlib/CMakeLists.txt
2022-05-29 21:26:04 +01:00

32 lines
580 B
CMake

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})