Initial setup for CLion

This commit is contained in:
2026-03-28 16:54:11 +11:00
parent 239cc02591
commit 7b4134133c
1136 changed files with 811916 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# anslicensing — Licensing SDK (shared library, built from source)
file(GLOB ANSLICENSING_SOURCES "*.cpp" "*.c")
file(GLOB ANSLICENSING_HEADERS "*.h")
add_library(anslicensing SHARED ${ANSLICENSING_SOURCES} ${ANSLICENSING_HEADERS})
target_include_directories(anslicensing PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
${SHARED_INCLUDE_DIR}
)
target_compile_definitions(anslicensing PRIVATE ANSLICENSING_EXPORTS LICENSING_EXPORTS _USRDLL)
if(WIN32)
target_link_libraries(anslicensing PRIVATE ${WIN_COMMON_LIBS} winhttp)
else()
target_link_libraries(anslicensing PRIVATE ${UNIX_COMMON_LIBS} curl ssl crypto)
endif()