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 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake