summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-09-09 16:21:57 -0400
committerDavid Cole <david.cole@kitware.com>2010-09-09 16:44:30 -0400
commite79e412e70cb439354df589d83d3878c4dbe62fc (patch)
tree21429b189d8130d8e8e8c47b54a6e60ff467cbfa /Tests
parent530ade6677ec2c12fe8f3db5f5d71ad0ffaa9e68 (diff)
downloadcmake-e79e412e70cb439354df589d83d3878c4dbe62fc.tar.gz
VS2010: Honor PROJECT_LABEL target property (#10611)
Diffstat (limited to 'Tests')
-rw-r--r--Tests/FunctionTest/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/FunctionTest/CMakeLists.txt b/Tests/FunctionTest/CMakeLists.txt
index ef55173491..5d4f42d4ae 100644
--- a/Tests/FunctionTest/CMakeLists.txt
+++ b/Tests/FunctionTest/CMakeLists.txt
@@ -166,3 +166,11 @@ ELSE(DEFINED SUBDIR_DEFINED)
ENDIF(DEFINED SUBDIR_DEFINED)
ADD_EXECUTABLE(FunctionTest functionTest.c)
+
+# Use the PROJECT_LABEL property: in IDEs, the project label should appear
+# in the UI rather than the target name. If this were a good test of the
+# property rather than just a smoke test, it would verify that the label
+# actually appears in the UI of the IDE... Or at least that the text appears
+# somewhere in the generated project files.
+SET_PROPERTY(TARGET miniFunctionTest
+ PROPERTY PROJECT_LABEL "Test de Fonctionnement")