This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The "Arguments" and "Run Directory" values for a CMakeLists.txt file are stored in the global attributes.xml file within C:\Users\<username>\AppData\Roaming\NetBeans\8.0\var instead of being stored in a configuration file within the projectfolder. Additionally they contain absolut paths, e.g. for the used compiler. Example: Arguments: -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=D:/MinGW/bin/gcc.exe -DCMAKE_CXX_COMPILER=D:/MinGW/bin/g++.exe -DCMAKE_C_FLAGS_DEBUG="-g3 -gdwarf-2" -DCMAKE_CXX_FLAGS_DEBUG="-g3 -gdwarf-2" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON Run Directory: D:/projects/basesystem_dev/build This is especially uncomfortable when having the project configuration under source control to share one setup for all developers. I think it would be a great enhancement, if the cmake arguments and the run directory would be stored in the configuration of the project and could contain relative paths and/or environment variables (like Run directory: PROJECT_ROOT/build). This would ensure that all developers involved in this project are using the same flags, output directories etc. Product Version = NetBeans IDE 8.0.1 (Build 201408251540) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0_67 Runtime = Java HotSpot(TM) Client VM 24.65-b04
fixed in NB 8.1