vcpkg/ports/pqp/CMakeLists.txt
Tobias Kohlbau f9eb4f98df [pqp] Add PQP portfile
Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
2017-02-20 15:41:59 +01:00

21 lines
481 B
CMake

cmake_minimum_required(VERSION 3.0)
project(pqp)
include_directories(${SOURCE}/src)
file(GLOB SRCS
"${SOURCE}/src/*.cpp")
file(GLOB HDRS
"${SOURCE}/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()