[cmake-developers] double-colon-is-imported topic

Brad King brad.king at kitware.com
Mon Oct 21 09:15:00 EDT 2013


Steve,

This topic fails ExportImport on a few builds:

 http://open.cdash.org/testDetails.php?test=214179551&build=3068327
 Error! E068: invalid option
 Note! N746: processing command line, switch: -Dbld::IFACE_TRY_COMPILE

 http://open.cdash.org/testDetails.php?test=214180406&build=3068333
 Command-line error: invalid macro definition: bld::IFACE_TRY_COMPILE

Even on Linux with Makefile generators I see:

 $ cd Tests/ExportImport/Import
 $ grep -r Dbld:: *
 CMakeFiles/CMakeOutput.log:/usr/bin/c++   -DHEADERONLY_DEFINE -Dbld::IFACE_TRY_COMPILE ... src.cxx

This should not be passing "::" in a preprocessor macro name.
Please take a look.

Thanks,
-Brad



More information about the cmake-developers mailing list