10234bc422
Introduce ExportedComparatorTypeDesc/ComparatorLibDesc with inline sanity checks, and add a core comparator shlib exporting three stub types. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
440 B
CMake
22 lines
440 B
CMake
add_library(comparatorCore SHARED
|
|
comparatorCore.cpp
|
|
)
|
|
|
|
set_target_properties(comparatorCore PROPERTIES
|
|
VERSION ${PROJECT_VERSION}
|
|
SOVERSION ${PROJECT_VERSION_MAJOR}
|
|
)
|
|
|
|
target_include_directories(comparatorCore PUBLIC
|
|
${CMAKE_SOURCE_DIR}/include
|
|
${CMAKE_SOURCE_DIR}/smocore/include
|
|
)
|
|
|
|
target_link_libraries(comparatorCore PUBLIC
|
|
spinscale
|
|
)
|
|
|
|
install(TARGETS comparatorCore
|
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} NAMELINK_SKIP
|
|
)
|