Skip to content

Commit

Permalink
Set C++ standard to C++17 for RiDDLe library
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardodebenedictis committed Nov 11, 2024
1 parent 150fa1e commit 4174ad3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ enable_testing()
option(COMPUTE_NAMES "Compute RiDDLe names" OFF)

add_library(RiDDLe src/scope.cpp src/env.cpp src/core.cpp src/type.cpp src/constructor.cpp src/method.cpp src/conjunction.cpp src/item.cpp src/lexer.cpp src/parser.cpp src/expression.cpp src/statement.cpp src/declaration.cpp src/compilation_unit.cpp)
target_compile_features(RiDDLe PUBLIC cxx_std_17)
target_include_directories(RiDDLe PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>)
if(NOT TARGET utils)
add_subdirectory(extern/utils)
Expand Down

0 comments on commit 4174ad3

Please sign in to comment.