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
>
>
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
hanks,
Fabrício Ceolin
+55 (31) 98675-1359
MiningMath Associates
www.miningmath.com
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on