Hi,

 

Is there a variable that holds the proper newline for the current platform?

\n for unix linux mac

\n\r for windows



I need a cmake variable that will hold

 

#include "header1.hpp"

#include "header1.hpp"

...

#include "headern.hpp"

 

and that will be replaced by configure_file to generate a .cxx source file
that will contain all these #includes.

The newline is therefore essential

 

regards,

_______________________________________________
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

Reply via email to