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)
31
31
# run_vcpkg()
32
32
33
33
# 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 )
35
35
36
36
if (GENERATOR_IS_MULTI_CONFIG AND NOT CMAKE_BUILD_TYPE )
37
37
# Make sure that all supported configuration types have their
@@ -110,3 +110,5 @@ endif()
110
110
111
111
# set the startup project for the "play" button in MSVC
112
112
set_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(
14
14
fmt::fmt
15
15
spdlog::spdlog
16
16
nlohmann_json::nlohmann_json )
17
+ install (TARGETS json2cpp )
18
+ install (DIRECTORY ../include DESTINATION . )
17
19
18
20
if (ENABLE_LARGE_TESTS )
19
21
set (BASE_NAME "${CMAKE_CURRENT_BINARY_DIR} /schema" )
You can’t perform that action at this time.
0 commit comments