Improve CMake

This commit is contained in:
Jonathan Müller 2018-12-18 17:49:26 +01:00
commit d44571f1c8
5 changed files with 19 additions and 27 deletions

View file

@ -5,7 +5,6 @@
function(_cppast_example name)
add_executable(cppast_example_${name} ${name}.cpp example_parser.hpp)
target_link_libraries(cppast_example_${name} PUBLIC cppast)
set_target_properties(cppast_example_${name} PROPERTIES CXX_STANDARD 11)
endfunction()
_cppast_example(ast_printer)