We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5548bf commit 631eeceCopy full SHA for 631eece
CMakeLists.txt
@@ -3,6 +3,14 @@ project(YSTDLIB_CPP LANGUAGES CXX)
3
4
set(YSTDLIB_CPP_VERSION "0.0.1" CACHE STRING "Project version.")
5
6
+# Enable exporting compile commands
7
+set(CMAKE_EXPORT_COMPILE_COMMANDS
8
+ ON
9
+ CACHE BOOL
10
+ "Enable/Disable output of compile commands during generation."
11
+ FORCE
12
+)
13
+
14
add_executable(dummy)
15
target_sources(dummy PRIVATE ystdlib/hello.cpp)
16
target_compile_features(dummy PRIVATE cxx_std_20)
0 commit comments