[CMake] functions & custom commands- what's the trick?
synfinatic at gmail.com
Fri Feb 20 03:22:59 EST 2009
sample code to illustrate problem:
message(STATUS "running clean_standard_files")
then running 'make standard' doesn't work:
make: clean_standard_files: Command not found
make: *** [standard] Error 127
make: *** [CMakeFiles/standard.dir/all] Error 2
make: *** [CMakeFiles/standard.dir/rule] Error 2
I seem to be missing something painfully obvious, but I'm not sure what.
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little
deserve neither Liberty nor Safety.
-- Benjamin Franklin
More information about the CMake