mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 02:10:26 +08:00
f9eb4f98df
Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
21 lines
481 B
CMake
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() |