File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ include(${_project_options_SOURCE_DIR}/Index.cmake)
3131# run_vcpkg()
3232
3333# Set the project name and language
34- project (myproject LANGUAGES CXX C)
34+ project (json2cpp VERSION 0.0.1 DESCRIPTION "Compiles JSON files into `static constexpr` C++ files" LANGUAGES CXX C)
3535
3636if (GENERATOR_IS_MULTI_CONFIG AND NOT CMAKE_BUILD_TYPE )
3737 # Make sure that all supported configuration types have their
@@ -110,3 +110,5 @@ endif()
110110
111111# set the startup project for the "play" button in MSVC
112112set_property (DIRECTORY PROPERTY VS_STARTUP_PROJECT json2cpp)
113+
114+ include (CPack)
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ target_link_libraries(
1414 fmt::fmt
1515 spdlog::spdlog
1616 nlohmann_json::nlohmann_json)
17+ install (TARGETS json2cpp)
18+ install (DIRECTORY ../include DESTINATION .)
1719
1820if (ENABLE_LARGE_TESTS)
1921 set (BASE_NAME "${CMAKE_CURRENT_BINARY_DIR} /schema" )
You can’t perform that action at this time.
0 commit comments