2009/3/16 Matthew Woehlke mw_tr...@users.sourceforge.net:
Eric Noulard wrote:
2009/2/26 Alex Flint alex.fl...@gmail.com:
Hi there,
I've noticed that when I run make blah then the makefile is
automatically re-generated if I've changed anything in CMakeLists.txt
since the last time I built
Eric Noulard wrote:
2009/3/16 Matthew Woehlke mw_tr...@users.sourceforge.net:
I think if this isn't working, either a: cmake isn't writing
optimal dependencies for the makefiles themselves,
Optimal depends in which sense. With the current scheme
I would say that dependency is checked almost
Matthew Woehlke wrote:
Makefile : cmake_check_build_system
Shouldn't this rather be:
Makefile: list of CMakeLists.txt, etc
cmake_check_build_system
?
...in which case, the only thing that should get checked is if the
CMakeLists.txt are newer than the Makefile. So in most cases this
Bill Hoffman wrote:
Matthew Woehlke wrote:
Makefile : cmake_check_build_system
Shouldn't this rather be:
Makefile: list of CMakeLists.txt, etc
cmake_check_build_system
?
...in which case, the only thing that should get checked is if the
CMakeLists.txt are newer than the Makefile. So in
Matthew Woehlke wrote:
Bill Hoffman wrote:
Matthew Woehlke wrote:
Makefile : cmake_check_build_system
Shouldn't this rather be:
Makefile: list of CMakeLists.txt, etc
cmake_check_build_system
?
...in which case, the only thing that should get checked is if the
CMakeLists.txt are newer
Bill Hoffman wrote:
I still don't get the original problem??? We used to have Makefile:
build system files. It was removed when that work was pushed into
cmake_check_build_system.
Ah. Maybe it should come back?
The original problem is: 'make foo' doesn't work after adding a target
'foo',
Matthew Woehlke wrote:
Bill Hoffman wrote:
I still don't get the original problem??? We used to have Makefile:
build system files. It was removed when that work was pushed into
cmake_check_build_system.
Ah. Maybe it should come back?
The problem with
Makefile: input-foo.txt
Brad King wrote:
AFAIK there is no way to implement the
make my-new-target
interface reliably.
FYI, you can write the above like this:
make rebuild_cache make my-new-target
if you know that it is a new target.
-Brad
___
Powered by
Brad King wrote:
The problem with
Makefile: input-foo.txt input-bar.txt
regenerate-rule
is that when someone removes input-bar.txt from disk Make will refuse
to run the regeneration rule.
Ah, wasn't thinking about that. Thanks for the info.
--
Matthew
Please do not quote my e-mail
Eric Noulard wrote:
2009/2/26 Alex Flint alex.fl...@gmail.com:
Hi there,
I've noticed that when I run make blah then the makefile is
automatically re-generated if I've changed anything in CMakeLists.txt
since the last time I built blah. However, if I add a new target to
CMakeLists.txt then I
Hi there,
I've noticed that when I run make blah then the makefile is
automatically re-generated if I've changed anything in CMakeLists.txt
since the last time I built blah. However, if I add a new target to
CMakeLists.txt then I have to run cmake manually or else I just get
to rule to make foo.
2009/2/26 Alex Flint alex.fl...@gmail.com:
Hi there,
I've noticed that when I run make blah then the makefile is
automatically re-generated if I've changed anything in CMakeLists.txt
since the last time I built blah. However, if I add a new target to
CMakeLists.txt then I have to run cmake
12 matches
Mail list logo