Add comparator API descriptor and libcomparatorCore scaffold.
Introduce ExportedComparatorTypeDesc/ComparatorLibDesc with inline sanity checks, and add a core comparator shlib exporting three stub types. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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
|
||||
)
|
||||
Reference in New Issue
Block a user