diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-27 20:14:42 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-27 20:14:42 (GMT) |
commit | 31a576abe674ba12021f75b574a4787458990cbd (patch) | |
tree | 4c94eb5f3ac7d97f254e131082a1646421070d9d /Tests/TargetName/executables | |
parent | 0954696e3ee948afe3d42c6a6e41d70573640db1 (diff) | |
download | CMake-31a576abe674ba12021f75b574a4787458990cbd.zip CMake-31a576abe674ba12021f75b574a4787458990cbd.tar.gz CMake-31a576abe674ba12021f75b574a4787458990cbd.tar.bz2 |
ENH: add a test for a target name with the same name as the output of a custom command
Diffstat (limited to 'Tests/TargetName/executables')
-rw-r--r-- | Tests/TargetName/executables/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/TargetName/executables/hello_world.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Tests/TargetName/executables/CMakeLists.txt b/Tests/TargetName/executables/CMakeLists.txt new file mode 100644 index 0000000..2671e3e --- /dev/null +++ b/Tests/TargetName/executables/CMakeLists.txt @@ -0,0 +1 @@ +add_executable(hello_world hello_world.c) diff --git a/Tests/TargetName/executables/hello_world.c b/Tests/TargetName/executables/hello_world.c new file mode 100644 index 0000000..539d867 --- /dev/null +++ b/Tests/TargetName/executables/hello_world.c @@ -0,0 +1,5 @@ +#include <stdio.h> +main() +{ + printf("hello, world\n"); +} |