diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-02 12:57:20 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 07:48:20 +0100 |
commit | 726aafb4237c84b689062d58941cd7e95e0e84eb (patch) | |
tree | 9b64ad70d1a55e92770246278662961ed9aaacf6 | |
parent | 03e2279c68bf784cd90d20a7556d8fdad492e8c0 (diff) |
cmake: help with vim autocompletion
-rw-r--r-- | cmake/opentrack-platform.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index d45e0e1a..0eb3c77f 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -35,6 +35,8 @@ if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "RELEASE" CACHE STRING "" FORCE) endif() +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # for clang + string(TOUPPER "${CMAKE_BUILD_TYPE}" __build_type) set(CMAKE_BUILD_TYPE "${__build_type}" CACHE STRING "" FORCE) |