Skip to content

Commit

Permalink
aadd
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwang118 committed Feb 20, 2023
1 parent b81fe0e commit 5749d74
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# CMakeList.txt : CMake project for vcpkgdemo, include source and define
# project specific logic here.
# CMakeList.txt : Top-level CMake project file, do global configuration
# and include sub-projects here.
#
cmake_minimum_required (VERSION 3.8)

# Add source to this project's executable.
add_library (vcpkgdemo "vcpkgdemo.cpp" "vcpkgdemo.h")
project ("vcpkgdemo")

if (CMAKE_VERSION VERSION_GREATER 3.12)
set_property(TARGET vcpkgdemo PROPERTY CXX_STANDARD 20)
endif()

# TODO: Add tests and install targets if needed.
install(FILES "${CMAKE_CURRENT_LIST_DIR}/vcpkgdemo.h" DESTINATION "include")

install(TARGETS vcpkgdemo
EXPORT vcpkgdemo-config
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin
)
# Include sub-projects.
add_subdirectory ("vcpkgdemo")

0 comments on commit 5749d74

Please sign in to comment.