Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Daniel Pfeifer
KWSys
Commits
2429789d
Commit
2429789d
authored
Sep 22, 2009
by
Bill Hoffman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Can not use cmakedefine in kwsys because bootstrap of cmake does not support it.
parent
897aa5d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
CMakeLists.txt
CMakeLists.txt
+6
-1
Configure.hxx.in
Configure.hxx.in
+6
-1
No files found.
CMakeLists.txt
View file @
2429789d
...
...
@@ -139,11 +139,16 @@ IF(COMMAND SET_PROPERTY)
"KWSYS_HEADER(%)=<
${
KWSYS_NAMESPACE
}
/%>"
)
ENDIF
(
COMMAND SET_PROPERTY
)
# add option to disable memory cleanup at exit of putenv memory
IF
(
DEFINED KWSYS_DO_NOT_CLEAN_PUTENV
)
SET
(
KWSYS_DO_NOT_CLEAN_PUTENV 1
)
ELSE
(
DEFINED KWSYS_DO_NOT_CLEAN_PUTENV
)
SET
(
KWSYS_DO_NOT_CLEAN_PUTENV 0
)
ENDIF
(
DEFINED KWSYS_DO_NOT_CLEAN_PUTENV
)
# Select library components.
IF
(
KWSYS_STANDALONE OR CMake_SOURCE_DIR
)
SET
(
KWSYS_ENABLE_C 1
)
# Enable all components.
SET
(
KWSYS_USE_Base64 1
)
SET
(
KWSYS_USE_Directory 1
)
...
...
Configure.hxx.in
View file @
2429789d
...
...
@@ -18,7 +18,12 @@
#include <@KWSYS_NAMESPACE@/Configure.h>
/* Disable cleanup of putenv memory for issues with GCOV */
#cmakedefine KWSYS_DO_NOT_CLEAN_PUTENV
#if @KWSYS_DO_NOT_CLEAN_PUTENV@
#define KWSYS_DO_NOT_CLEAN_PUTENV
#else
#undef KWSYS_DO_NOT_CLEAN_PUTENV
#else
/* Whether ANSI C++ stream headers are to be used. */
#define @KWSYS_NAMESPACE@_IOS_USE_ANSI @KWSYS_IOS_USE_ANSI@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment