aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2012-12-20 14:34:09 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2012-12-20 14:34:09 +0000
commit49ca997ce324b816688f584d417f271e7c7fcd9b (patch)
tree91542919d2795ef8bd643a4f3f2fab5539c2e96d /cmake
parent98263a15a58069934433b07439a594b2c178e7d9 (diff)
downloadcompiler-rt-49ca997ce324b816688f584d417f271e7c7fcd9b.tar.gz
[*san] Create unittests output directory, if it does not exist.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/CompilerRTUnittests.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/Modules/CompilerRTUnittests.cmake b/cmake/Modules/CompilerRTUnittests.cmake
index 96ad67310..b50272cda 100644
--- a/cmake/Modules/CompilerRTUnittests.cmake
+++ b/cmake/Modules/CompilerRTUnittests.cmake
@@ -18,6 +18,7 @@ set(COMPILER_RT_GTEST_INCLUDE_CFLAGS
macro(add_compiler_rt_test test_suite test_name)
parse_arguments(TEST "OBJECTS;DEPS;LINK_FLAGS" "" ${ARGN})
get_unittest_directory(OUTPUT_DIR)
+ file(MAKE_DIRECTORY ${OUTPUT_DIR})
set(output_bin "${OUTPUT_DIR}/${test_name}")
add_custom_command(
OUTPUT ${output_bin}