CMakeLists.txt (512B)
1 add_library(poafloc STATIC poafloc.cpp help.cpp trie.cpp c_bindings.cpp) 2 target_include_directories(poafloc PRIVATE ../include) 3 target_compile_definitions(poafloc PRIVATE WITH_C_BINDINGS) 4 set_target_properties(poafloc PROPERTIES LINKER_LANGUAGE CXX) 5 6 set_target_properties(poafloc PROPERTIES 7 VERSION ${PROJECT_VERSION} 8 SOVERSION ${PROJECT_VERSION_MAJOR} 9 OUTPUT_NAME "poafloc" 10 DEBUG_POSTFIX "d" 11 PUBLIC_HEADER "include/poafloc.hpp;include/poafloc.h" 12 MACOSX_RPATH ON 13 WINDOWS_EXPORT_ALL_SYMBOLS ON 14 )