[cmake] Move isl_test artifacts to Polly folder.
authorMichael Kruse <llvm@meinersbur.de>
Fri, 7 Oct 2016 12:38:24 +0000 (12:38 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Fri, 7 Oct 2016 12:38:24 +0000 (12:38 +0000)
Folders in Visual Studio solutions help organize the build artifacts from all
LLVM projects. There is a folder to keep Polly-built files in.

llvm-svn: 283546

polly/lib/External/CMakeLists.txt
polly/test/CMakeLists.txt

index 2e0d89c..afe8ae6 100644 (file)
@@ -264,6 +264,7 @@ add_polly_library(PollyISL
 add_executable(polly-isl-test
   isl/isl_test.c
 )
+set_target_properties(polly-isl-test PROPERTIES FOLDER "Polly")
 
 target_link_libraries(polly-isl-test
   PollyISL
index 87ba944..460c870 100644 (file)
@@ -109,6 +109,7 @@ if (NOT DEFINED LLVM_MAIN_SRC_DIR)
                 ${CMAKE_CURRENT_BINARY_DIR}
                 DEPENDS polly-isl-test
                 COMMENT "Running isl unit tests")
+    set_target_properties(check-polly-isl PROPERTIES FOLDER "Polly")
   endif()
 
 else (NOT DEFINED LLVM_MAIN_SRC_DIR)