[CMake] try_run removes semicolons from output?
Dominik Szczerba
dominik at itis.ethz.ch
Thu Feb 3 11:24:36 EST 2011
I am using try_run to generate an include file by a single program
containing lines like:
printf ("static double foo = %f;\n", foo);
To my great surprise, RUN_OUTPUT_VARIABLE contains all the lines as
expected but without trailing ";" symbols. There is nothing about this
unexpected behavior in the description of this command in cmake. Did I
miss something in the documentation or I should rather file a bug?
Regards,
Dominik
More information about the CMake
mailing list