No, this isn't create_custom_target- this is a generic target
(non-executable) that should only be built when the user specifies it
explicitly.

Basically, I have a bunch of unit tests (which want to convert to
CTest framework).  Each of these tests executes a command and compares
it's output to a pre-determined result.  A simple diff command
determines pass/fail.

Creating these pre-determined outputs is currently done via running:
make test_standard

Obviously, I don't want these test cases built each time I build, and
re-running cmake to specify an config var to do this would technically
work, but be annoying.

Basically, I'm looking for a way to create a new make target
"test_standard" and associate create_custom_target()'s to it.

Suggestions?

-- 
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little
temporary Safety,
deserve neither Liberty nor Safety.
    -- Benjamin Franklin
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to