Prevent CMake from expanding comments
Unfortunately CMake doesn't check for comments and expands the example syntax! Is this a CMake bug? Anyway, this is fixed now.
This commit is contained in:
parent
5cca79489b
commit
26c46cc022
@ -20,11 +20,11 @@
|
||||
*
|
||||
* configh.in configh.cmake.in
|
||||
* --------------------- ----------------------------
|
||||
* #define HAVE_GL 0 #cmakedefine01 HAVE_GL
|
||||
* #undef HAVE_SNPRINTF #cmakedefine HAVE_SNPRINTF 1
|
||||
* [#]define HAVE_GL 0 [#]cmakedefine01 HAVE_GL
|
||||
* [#]undef HAVE_SNPRINTF [#]cmakedefine HAVE_SNPRINTF 1
|
||||
*
|
||||
* The former #define's the given macro either as 0 or 1,
|
||||
* the latter either does not define the macro or #define's it as 1.
|
||||
* The former defines the given macro either as 0 or 1,
|
||||
* the latter either does not define the macro or defines it as 1.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -19,11 +19,11 @@
|
||||
*
|
||||
* configh.in configh.cmake.in
|
||||
* --------------------- ----------------------------
|
||||
* #define HAVE_GL 0 #cmakedefine01 HAVE_GL
|
||||
* #undef HAVE_SNPRINTF #cmakedefine HAVE_SNPRINTF 1
|
||||
* [#]define HAVE_GL 0 [#]cmakedefine01 HAVE_GL
|
||||
* [#]undef HAVE_SNPRINTF [#]cmakedefine HAVE_SNPRINTF 1
|
||||
*
|
||||
* The former #define's the given macro either as 0 or 1,
|
||||
* the latter either does not define the macro or #define's it as 1.
|
||||
* The former defines the given macro either as 0 or 1,
|
||||
* the latter either does not define the macro or defines it as 1.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user