2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-18 02:02:12 +00:00
Files
json/example/CMakeLists.txt
Alexej Harm bc95b55c35 Refactor CMake support:
* Add VS CMake integration config
* add cmake 3.10.0 support
* fix compiler and linker flags
* disable verbose build output
* added cmake policy
* Fix source groups
* Group folder related settings
* Add support for the boost superproject and cmake 3.16
* Remove library headers from executable projects
* Fix boost superproject compatibility
2019-12-29 10:49:25 -08:00

29 lines
667 B
CMake

#
# Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Official repository: https://github.com/vinniefalco/json
#
source_group("" FILES
file.hpp
pretty.cpp
validate.cpp
)
add_executable(pretty
file.hpp
pretty.cpp
)
set_property(TARGET pretty PROPERTY FOLDER "example")
target_link_libraries(pretty PRIVATE boost_json)
add_executable(validate
file.hpp
validate.cpp
)
set_property(TARGET validate PROPERTY FOLDER "example")
target_link_libraries(validate PRIVATE boost_json)