[CMake] hanging/memory leak
Matthew E. Pollack
mpollack at mitre.org
Mon Oct 10 09:34:19 EDT 2005
I am currently experiencing a strange behavior from cmake 2.0.5
installed on a few linux boxes. My CMakeLists.txt file is fairly
straightforward and works fine. That is, until I remove a "FORCE"
directive from one "SET" line. I have included the line below. What
really strikes me as odd, is that there is a nearly identical line just
above the problem line, which does not have "FORCE" in it. Without
"FORCE" on this particular line, cmake and ccmake get through the "Check
for working CXX compiler: c++ -- works" step, but then hangs, while
eating memory at a rate of approximately 15 megs/minute. Anyone have
some ideas? Shouldn't this work just fine?
Thanks,
Matthew
Excerpt from CMakeLists.txt:
#######################
# Directory Variables #
#######################
# Set the path to the include directory
# THIS LINE WORKS FINE
SET (FMS_SI_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/src CACHE PATH "Path to the
Include Base Directory.")
#THIS LINE IS BROKEN
SET (FMS_SI_SOURCE_DIR ${CMAKE_SOURCE_DIR}/src CACHE PATH "Path to the
Source Base Directory.")
More information about the CMake
mailing list