CMAKE_EXPORT_COMPILE_COMMANDS Compiler Built-ins scope?

9 views
Skip to first unread message

dan...@dnil.se

unread,
Nov 26, 2018, 2:04:32 PM11/26/18
to cmake4eclipse user mailing list
Hi,

I have a question regarding the scope of the output from the "CMAKE_EXPORT_COMPILE_COMMANDS Compiler Built-ins" provider, is the output of this provider supposed to be stored on a workspace basis or on a project basis?

Background for the question is that I have a number of project in each workspace separated in different working sets for different customers. Some project are embedded projects using a gcc cross-compiler toolchain and some are gcc native project, both types using the cmake4eclipse plugin. Result is what appears to be random behavior when opening a project where sometimes the output of this provider are settings from the native toolchain and sometimes from the cross-compile toolchain. I'm sure this isn't in reality random, but I can't quite figure out what impacts the result. See

On the provider tab there are two check-boxes which are both "grayed out" with "Use global provider shared between projects" being active. Is it this option that states that the output from this provider is indeed workspace wide? If so, is there a way to change the scope here to be on a project basis instead?

I'm on Ubuntu 16.04, cmake 3.5.1, cmake4eclipse 1.12.2.201809221952 and Eclipse Oxygen.3a

Thanks
Daniel

Reply all
Reply to author
Forward
0 new messages