diff options
Diffstat (limited to 'vcpkg/ports/sfsexp/CMakeLists.txt')
| -rw-r--r-- | vcpkg/ports/sfsexp/CMakeLists.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/sfsexp/CMakeLists.txt b/vcpkg/ports/sfsexp/CMakeLists.txt new file mode 100644 index 0000000..e770b9d --- /dev/null +++ b/vcpkg/ports/sfsexp/CMakeLists.txt @@ -0,0 +1,20 @@ +cmake_minimum_required(VERSION 3.13) +project(sexp) + +if(MSVC) + add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS) +endif() + +file(GLOB sources src/*.c src/*.h) +include_directories(src/) + +add_library(sexp ${sources}) + +set_target_properties(sexp PROPERTIES PUBLIC_HEADER "src/cstring.h;src/faststack.h;src/sexp.h;src/sexp_errors.h;src/sexp_memory.h;src/sexp_ops.h;src/sexp_vis.h") + +install(TARGETS sexp + ARCHIVE DESTINATION lib + LIBRARY DESTINATION lib + RUNTIME DESTINATION bin + PUBLIC_HEADER DESTINATION include +)
\ No newline at end of file |