Putting
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
right above defining target solve the problem.
Fabrício Ceolin
+55 (31) 98675-1359
MiningMath Associates
www.miningmath.com
2016-12-07 8:48 GMT-02:00 Wagner, David :
> I've tested this on Ubuntu 15.10 using CMake 3.2.2
>
> Where, in the CMakeLists
I've tested this on Ubuntu 15.10 using CMake 3.2.2
Where, in the CMakeLists did you put it? As far as I can tell, it needs to be
done before defining the targets for which you want compile commands to be exported.
W
On 07/12/2016 11:35, Fabrício Ceolin wrote:
Hi,
Thank you David. Which vers
Hi,
Thank you David. Which version of cmake and operational system are you
using?
In my CMakeLists.txt file, I tried to set
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
and
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
without success, unfortunately.
Em qua, 7 de dez de 2016 às 08:13, Wagner, David
escreveu
On 05/12/2016 12:31, Fabrício Ceolin wrote:
Hi,
I am trying to put
set(CMAKE_EXPORT_COMPILE_COMMANDS ,1) inside a toolchain file but the command
has no effect there. I've tried to put it in CMakeLists.txt too using the
previosly set and add_definitions(-DCMAKE_EXPORT_COMPILE_COMMANDS=1) withou
Hi,
I am trying to put
set(CMAKE_EXPORT_COMPILE_COMMANDS ,1) inside a toolchain file but the
command has no effect there. I've tried to put it in CMakeLists.txt too
using the previosly set and
add_definitions(-DCMAKE_EXPORT_COMPILE_COMMANDS=1) without success.
The command only works in command li