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:
2026-06-10 21:13:19 -04:00
parent f118947b5e
commit 10234bc422
5 changed files with 229 additions and 0 deletions
+21
View File
@@ -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
)