Add ability to parse multiple files
This commit is contained in:
parent
4ebf134cf2
commit
738b0198c2
4 changed files with 284 additions and 113 deletions
|
|
@ -2,14 +2,15 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
# found in the top-level directory of this distribution.
|
||||
|
||||
set (CMAKE_CXX_STANDARD 20)
|
||||
add_executable(cppast_tool main.cpp)
|
||||
target_link_libraries(cppast_tool PUBLIC cppast cxxopts)
|
||||
set_target_properties(cppast_tool PROPERTIES CXX_STANDARD 11 OUTPUT_NAME cppast)
|
||||
set_target_properties(cppast_tool PROPERTIES CXX_STANDARD 20 OUTPUT_NAME cppast)
|
||||
|
||||
install(TARGETS cppast_tool)
|
||||
|
||||
add_executable(cppcgen cppcgen.cpp)
|
||||
target_link_libraries(cppcgen PUBLIC cppast cxxopts)
|
||||
set_target_properties(cppcgen PROPERTIES CXX_STANDARD 11 OUTPUT_NAME cppcgen)
|
||||
set_target_properties(cppcgen PROPERTIES CXX_STANDARD 20 OUTPUT_NAME cppcgen)
|
||||
|
||||
install(TARGETS cppcgen)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue