1
0
Fork 0
modern_cpp_tutorial/cmake/ExportCompileCommands.cmake

7 lines
175 B
CMake
Raw Normal View History

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
if(CMAKE_EXPORT_COMPILE_COMMANDS)
set(CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES
${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES})
endif()