Export compile commands

This commit is contained in:
Sainnhe Park 2022-03-21 10:22:27 +08:00
parent e5239dbae7
commit 29138c91a3
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ project(leetcode)
# GoogleTest requires at least C++11
set(CMAKE_CXX_STANDARD 11)
# Export compile commands
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
include(FetchContent)
fetchcontent_declare(
googletest