Export compile commands
This commit is contained in:
parent
e5239dbae7
commit
29138c91a3
@ -4,6 +4,9 @@ project(leetcode)
|
|||||||
# GoogleTest requires at least C++11
|
# GoogleTest requires at least C++11
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
|
||||||
|
# Export compile commands
|
||||||
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||||
|
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
fetchcontent_declare(
|
fetchcontent_declare(
|
||||||
googletest
|
googletest
|
||||||
|
Loading…
Reference in New Issue
Block a user