I preemptively filed bug:
http://www.cmake.org/Bug/view.php?id=5785
I didn't know directories could trigger this as well.
Juan
KSpam wrote:
> Juan,
>
> Thanks for the tip! Although I did not have a file named "test", I did have
> a
> directory named "test" (that contains all of my test pro
Juan,
Thanks for the tip! Although I did not have a file named "test", I did have a
directory named "test" (that contains all of my test projects naturally).
Marking the test target as phony in the Makefile resolved the issue.
It sounds like this should be fixed in the Makefile generator. Th
As a followup. If I "touch test", the test no longer runs. If I add
the PHONY target to the Makefile. The tests still run.
~/bar> make test
Running tests...
Start processing tests
Test project /home/juans/bar
1/ 1 Testing foo Passed
100% tests passed, 0 tests fai
Would you happen to have a file named "test" in your binary area? Make
will see the file and think that the target "test" is up to date.
A proper gnu makefile would mark the test target as phony. Looking at
the gnu makefile generated by one of my projects, test is not marked as
phony.
Let me kn
I have a strange problem using CTest with Makefiles. If I run "make test",
ctest is never called. If I change the name of the target in the Makefile
from "test" to "test2" and run "make test2", then ctest is called properly.
After changing the target name, "make test" is still recognized as a