mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-27 02:09:14 -05:00
32 lines
580 B
CMake
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})
|