mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 13:02:47 +08:00
20 lines
369 B
CMake
20 lines
369 B
CMake
|
cmake_minimum_required(VERSION 2.8)
|
||
|
|
||
|
project(quirc C)
|
||
|
|
||
|
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||
|
|
||
|
add_library(quirc
|
||
|
lib/decode.c
|
||
|
lib/identify.c
|
||
|
lib/quirc.c
|
||
|
lib/version_db.c
|
||
|
)
|
||
|
|
||
|
install(TARGETS quirc
|
||
|
RUNTIME DESTINATION bin
|
||
|
ARCHIVE DESTINATION lib
|
||
|
LIBRARY DESTINATION lib)
|
||
|
|
||
|
install(FILES ${PROJECT_SOURCE_DIR}/lib/quirc.h DESTINATION include)
|