View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001159CMakepublic2004-09-14 09:142016-06-06 16:33
ReporterJan Woetzel 
Assigned ToBill Hoffman 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001159: clean target depends on CMAKE_MAKEFILE_SOURCES
DescriptionHi,
my cmake project MIP depend on a second cmake project BIAS through "BIASConfig.cmake" using the CMakeImportBuildSettings.cmake macro.
This is correct for compiling.

But the problem is that the clean target of MIP also depends on BIAS through "cmake.depends".
The result is that I cannot clean MIP if BIAS has been removed.

I am using cmake 2.1.0 with make on Linux.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0001425)
Jan Woetzel (reporter)
2004-09-14 09:15

soory,
meant teh Makefiles
CMAKE_MAKEFILE_SOURCES
instead of cmake.depends.
(0001478)
Bill Hoffman (manager)
2004-09-17 15:50

I think your problem is here:
cmake.depends: $(CMAKE_MAKEFILE_SOURCES)

That depend has to be there so that if any source to the cmake process gets changed cmake is re-run automatically.

The problem is that gnu make is over agressive with include. Eventhough you type make clean, gnu sees that an included file depends on a file that is not there, so it produces an error.

I am not sure how to fix the problem. I don't want to remove the depend line as that will cause trouble with cmake not being run enough.

Any ideas?
(0002109)
Jan Woetzel (reporter)
2005-02-24 11:43

OK. worked around it.

 Issue History
Date Modified Username Field Change
2016-06-06 16:33 Brad King Resolution open => suspended


Copyright © 2000 - 2018 MantisBT Team