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

Stephen Kelly steveire at gmail.com
Mon Oct 21 09:57:19 EDT 2013


Brad King wrote:

> 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.

Ok, fixed now.

Thanks,

Steve.





More information about the cmake-developers mailing list