From 726aafb4237c84b689062d58941cd7e95e0e84eb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 2 Jan 2019 12:57:20 +0100 Subject: cmake: help with vim autocompletion --- cmake/opentrack-platform.cmake | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3