C++ projects should use CXX flags (#136)

This commit is contained in:
SuperOpt 2024-12-30 18:29:49 -06:00 committed by GitHub
parent c9e1a63378
commit ba78b35604
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,5 +8,5 @@ add_executable(clay_examples_cpp_project_example main.cpp)
target_include_directories(clay_examples_cpp_project_example PUBLIC .) target_include_directories(clay_examples_cpp_project_example PUBLIC .)
set(CMAKE_C_FLAGS_DEBUG "-Werror -Wall -Wno-error=missing-braces") set(CMAKE_CXX_FLAGS_DEBUG "-Werror -Wall -Wno-error=missing-braces")
set(CMAKE_C_FLAGS_RELEASE "-O3") set(CMAKE_CXX_FLAGS_RELEASE "-O3")