1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00
sdrangel/fcdlib/CMakeLists.txt

32 lines
580 B
CMake
Raw Normal View History

project(fcdlib)
set(fcdlib_SOURCES
fcdtraits.cpp
fcdproplusconst.cpp
fcdproconst.cpp
)
set(fcdlib_HEADERS
fcdtraits.h
fcdproplusconst.h
fcdproconst.h
2022-05-29 16:26:04 -04:00
export.h
)
include_directories(
)
add_library(fcdlib SHARED
${fcdlib_SOURCES}
)
target_link_libraries(fcdlib)
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()
install(TARGETS fcdlib DESTINATION ${INSTALL_LIB_DIR})