aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/pqp/CMakeLists.txt
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/pqp/CMakeLists.txt
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/pqp/CMakeLists.txt')
-rw-r--r--vcpkg/ports/pqp/CMakeLists.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/vcpkg/ports/pqp/CMakeLists.txt b/vcpkg/ports/pqp/CMakeLists.txt
new file mode 100644
index 0000000..418beb8
--- /dev/null
+++ b/vcpkg/ports/pqp/CMakeLists.txt
@@ -0,0 +1,24 @@
+cmake_minimum_required(VERSION 3.0)
+project(pqp)
+
+set(CMAKE_CXX_STANDARD 11)
+
+set(SOURCE_CUSTOM_DIR "PQP_v1.3")
+include_directories(${SOURCE_CUSTOM_DIR}/src)
+
+file(GLOB SRCS
+ "${SOURCE_CUSTOM_DIR}/src/*.cpp")
+file(GLOB HDRS
+ "${SOURCE_CUSTOM_DIR}/src/*.h")
+
+add_library(pqp STATIC ${SRCS})
+
+install(TARGETS pqp EXPORT pqpConfig
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib)
+
+foreach (file ${HDRS})
+ get_filename_component(dir ${file} DIRECTORY)
+ install(FILES ${file} DESTINATION include/ CONFIGURATIONS Release)
+endforeach()