Alexey Samsonov | 02dcc63 | 2012-12-19 12:33:39 +0000 | [diff] [blame] | 1 | include(AddLLVM) |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 2 | include(ExternalProject) |
Alexey Samsonov | 02dcc63 | 2012-12-19 12:33:39 +0000 | [diff] [blame] | 3 | include(LLVMParseArguments) |
Alexey Samsonov | 392c50d | 2013-01-18 16:05:21 +0000 | [diff] [blame] | 4 | include(CompilerRTUtils) |
Alexey Samsonov | 02dcc63 | 2012-12-19 12:33:39 +0000 | [diff] [blame] | 5 | |
Pirama Arumuga Nainar | cdce50b | 2015-07-01 12:26:56 -0700 | [diff] [blame] | 6 | # Tries to add an "object library" target for a given list of OSs and/or |
| 7 | # architectures with name "<name>.<arch>" for non-Darwin platforms if |
| 8 | # architecture can be targeted, and "<name>.<os>" for Darwin platforms. |
| 9 | # add_compiler_rt_object_libraries(<name> |
| 10 | # OS <os> |
| 11 | # ARCH <arch> |
| 12 | # SOURCES <source files> |
| 13 | # CFLAGS <compile flags> |
| 14 | # DEFS <compile definitions>) |
| 15 | function(add_compiler_rt_object_libraries name) |
| 16 | parse_arguments(LIB "OS;ARCH;SOURCES;CFLAGS;DEFS" "" ${ARGN}) |
| 17 | set(libnames) |
| 18 | if(APPLE) |
| 19 | foreach(os ${LIB_OS}) |
| 20 | set(libname "${name}.${os}") |
| 21 | set(libnames ${libnames} ${libname}) |
| 22 | set(extra_cflags_${libname} ${DARWIN_${os}_CFLAGS}) |
| 23 | endforeach() |
Alexey Samsonov | 392c50d | 2013-01-18 16:05:21 +0000 | [diff] [blame] | 24 | else() |
Pirama Arumuga Nainar | cdce50b | 2015-07-01 12:26:56 -0700 | [diff] [blame] | 25 | foreach(arch ${LIB_ARCH}) |
| 26 | set(libname "${name}.${arch}") |
| 27 | set(libnames ${libnames} ${libname}) |
| 28 | set(extra_cflags_${libname} ${TARGET_${arch}_CFLAGS}) |
| 29 | if(NOT CAN_TARGET_${arch}) |
| 30 | message(FATAL_ERROR "Archtecture ${arch} can't be targeted") |
| 31 | return() |
| 32 | endif() |
| 33 | endforeach() |
Alexey Samsonov | 392c50d | 2013-01-18 16:05:21 +0000 | [diff] [blame] | 34 | endif() |
Pirama Arumuga Nainar | cdce50b | 2015-07-01 12:26:56 -0700 | [diff] [blame] | 35 | |
| 36 | foreach(libname ${libnames}) |
| 37 | add_library(${libname} OBJECT ${LIB_SOURCES}) |
| 38 | set_target_compile_flags(${libname} |
| 39 | ${CMAKE_CXX_FLAGS} ${extra_cflags_${libname}} ${LIB_CFLAGS}) |
| 40 | set_property(TARGET ${libname} APPEND PROPERTY |
| 41 | COMPILE_DEFINITIONS ${LIB_DEFS}) |
| 42 | if(APPLE) |
| 43 | set_target_properties(${libname} PROPERTIES OSX_ARCHITECTURES "${LIB_ARCH}") |
| 44 | endif() |
| 45 | endforeach() |
| 46 | endfunction() |
Alexey Samsonov | 5162314 | 2013-01-20 14:36:12 +0000 | [diff] [blame] | 47 | |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 48 | # Adds static or shared runtime for a given architecture and puts it in the |
| 49 | # proper directory in the build and install trees. |
| 50 | # add_compiler_rt_runtime(<name> <arch> {STATIC,SHARED} |
| 51 | # SOURCES <source files> |
| 52 | # CFLAGS <compile flags> |
Stephen Hines | 6d18623 | 2014-11-26 17:56:19 -0800 | [diff] [blame] | 53 | # DEFS <compile definitions> |
| 54 | # OUTPUT_NAME <output library name>) |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 55 | macro(add_compiler_rt_runtime name arch type) |
Alexey Samsonov | e16af95 | 2013-01-20 13:58:10 +0000 | [diff] [blame] | 56 | if(CAN_TARGET_${arch}) |
Pirama Arumuga Nainar | cdce50b | 2015-07-01 12:26:56 -0700 | [diff] [blame] | 57 | parse_arguments(LIB "SOURCES;CFLAGS;LINKFLAGS;DEFS;OUTPUT_NAME" "" ${ARGN}) |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 58 | add_library(${name} ${type} ${LIB_SOURCES}) |
Alexey Samsonov | e16af95 | 2013-01-20 13:58:10 +0000 | [diff] [blame] | 59 | # Setup compile flags and definitions. |
| 60 | set_target_compile_flags(${name} |
| 61 | ${TARGET_${arch}_CFLAGS} ${LIB_CFLAGS}) |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 62 | set_target_link_flags(${name} |
Pirama Arumuga Nainar | cdce50b | 2015-07-01 12:26:56 -0700 | [diff] [blame] | 63 | ${TARGET_${arch}_CFLAGS} ${LIB_CFLAGS} ${LIB_LINKFLAGS}) |
Alexey Samsonov | e16af95 | 2013-01-20 13:58:10 +0000 | [diff] [blame] | 64 | set_property(TARGET ${name} APPEND PROPERTY |
| 65 | COMPILE_DEFINITIONS ${LIB_DEFS}) |
| 66 | # Setup correct output directory in the build tree. |
| 67 | set_target_properties(${name} PROPERTIES |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 68 | ARCHIVE_OUTPUT_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR} |
Stephen Hines | 86277eb | 2015-03-23 12:06:32 -0700 | [diff] [blame] | 69 | LIBRARY_OUTPUT_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR} |
| 70 | RUNTIME_OUTPUT_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR}) |
Stephen Hines | 6d18623 | 2014-11-26 17:56:19 -0800 | [diff] [blame] | 71 | if ("${LIB_OUTPUT_NAME}" STREQUAL "") |
| 72 | set_target_properties(${name} PROPERTIES |
| 73 | OUTPUT_NAME ${name}${COMPILER_RT_OS_SUFFIX}) |
| 74 | else() |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 75 | set_target_properties(${name} PROPERTIES |
| 76 | OUTPUT_NAME ${LIB_OUTPUT_NAME}) |
| 77 | endif() |
Alexey Samsonov | e16af95 | 2013-01-20 13:58:10 +0000 | [diff] [blame] | 78 | # Add installation command. |
| 79 | install(TARGETS ${name} |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 80 | ARCHIVE DESTINATION ${COMPILER_RT_LIBRARY_INSTALL_DIR} |
Stephen Hines | 86277eb | 2015-03-23 12:06:32 -0700 | [diff] [blame] | 81 | LIBRARY DESTINATION ${COMPILER_RT_LIBRARY_INSTALL_DIR} |
| 82 | RUNTIME DESTINATION ${COMPILER_RT_LIBRARY_INSTALL_DIR}) |
Alexey Samsonov | e16af95 | 2013-01-20 13:58:10 +0000 | [diff] [blame] | 83 | else() |
| 84 | message(FATAL_ERROR "Archtecture ${arch} can't be targeted") |
| 85 | endif() |
| 86 | endmacro() |
| 87 | |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 88 | # Same as add_compiler_rt_runtime(... STATIC), but creates a universal library |
Alexey Samsonov | 2aad7c1 | 2013-01-21 08:12:20 +0000 | [diff] [blame] | 89 | # for several architectures. |
| 90 | # add_compiler_rt_osx_static_runtime(<name> ARCH <architectures> |
| 91 | # SOURCES <source files> |
| 92 | # CFLAGS <compile flags> |
| 93 | # DEFS <compile definitions>) |
| 94 | macro(add_compiler_rt_osx_static_runtime name) |
| 95 | parse_arguments(LIB "ARCH;SOURCES;CFLAGS;DEFS" "" ${ARGN}) |
| 96 | add_library(${name} STATIC ${LIB_SOURCES}) |
| 97 | set_target_compile_flags(${name} ${LIB_CFLAGS}) |
| 98 | set_property(TARGET ${name} APPEND PROPERTY |
| 99 | COMPILE_DEFINITIONS ${LIB_DEFS}) |
| 100 | set_target_properties(${name} PROPERTIES |
| 101 | OSX_ARCHITECTURES "${LIB_ARCH}" |
| 102 | ARCHIVE_OUTPUT_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR}) |
| 103 | install(TARGETS ${name} |
| 104 | ARCHIVE DESTINATION ${COMPILER_RT_LIBRARY_INSTALL_DIR}) |
| 105 | endmacro() |
| 106 | |
Alexander Potapenko | 4949674 | 2013-11-07 10:08:19 +0000 | [diff] [blame] | 107 | # Adds dynamic runtime library on osx/iossim, which supports multiple |
| 108 | # architectures. |
| 109 | # add_compiler_rt_darwin_dynamic_runtime(<name> <os> |
| 110 | # ARCH <architectures> |
| 111 | # SOURCES <source files> |
| 112 | # CFLAGS <compile flags> |
| 113 | # DEFS <compile definitions> |
| 114 | # LINKFLAGS <link flags>) |
| 115 | macro(add_compiler_rt_darwin_dynamic_runtime name os) |
Alexey Samsonov | 2aad7c1 | 2013-01-21 08:12:20 +0000 | [diff] [blame] | 116 | parse_arguments(LIB "ARCH;SOURCES;CFLAGS;DEFS;LINKFLAGS" "" ${ARGN}) |
| 117 | add_library(${name} SHARED ${LIB_SOURCES}) |
Alexander Potapenko | 4949674 | 2013-11-07 10:08:19 +0000 | [diff] [blame] | 118 | set_target_compile_flags(${name} ${LIB_CFLAGS} ${DARWIN_${os}_CFLAGS}) |
| 119 | set_target_link_flags(${name} ${LIB_LINKFLAGS} ${DARWIN_${os}_LINKFLAGS}) |
Alexey Samsonov | 2aad7c1 | 2013-01-21 08:12:20 +0000 | [diff] [blame] | 120 | set_property(TARGET ${name} APPEND PROPERTY |
| 121 | COMPILE_DEFINITIONS ${LIB_DEFS}) |
| 122 | set_target_properties(${name} PROPERTIES |
| 123 | OSX_ARCHITECTURES "${LIB_ARCH}" |
| 124 | LIBRARY_OUTPUT_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR}) |
| 125 | install(TARGETS ${name} |
| 126 | LIBRARY DESTINATION ${COMPILER_RT_LIBRARY_INSTALL_DIR}) |
| 127 | endmacro() |
| 128 | |
Stephen Hines | 6a211c5 | 2014-07-21 00:49:56 -0700 | [diff] [blame] | 129 | set(COMPILER_RT_TEST_CFLAGS) |
| 130 | |
Alexey Samsonov | 392c50d | 2013-01-18 16:05:21 +0000 | [diff] [blame] | 131 | # Unittests support. |
Alexey Samsonov | 02dcc63 | 2012-12-19 12:33:39 +0000 | [diff] [blame] | 132 | set(COMPILER_RT_GTEST_PATH ${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest) |
Chandler Carruth | ace5350 | 2013-11-15 10:21:15 +0000 | [diff] [blame] | 133 | set(COMPILER_RT_GTEST_SOURCE ${COMPILER_RT_GTEST_PATH}/src/gtest-all.cc) |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 134 | set(COMPILER_RT_GTEST_CFLAGS |
Alexey Samsonov | 02dcc63 | 2012-12-19 12:33:39 +0000 | [diff] [blame] | 135 | -DGTEST_NO_LLVM_RAW_OSTREAM=1 |
Stephen Hines | 6a211c5 | 2014-07-21 00:49:56 -0700 | [diff] [blame] | 136 | -DGTEST_HAS_RTTI=0 |
Alexey Samsonov | 02dcc63 | 2012-12-19 12:33:39 +0000 | [diff] [blame] | 137 | -I${COMPILER_RT_GTEST_PATH}/include |
Chandler Carruth | ace5350 | 2013-11-15 10:21:15 +0000 | [diff] [blame] | 138 | -I${COMPILER_RT_GTEST_PATH} |
Alexey Samsonov | 02dcc63 | 2012-12-19 12:33:39 +0000 | [diff] [blame] | 139 | ) |
| 140 | |
Stephen Hines | 86277eb | 2015-03-23 12:06:32 -0700 | [diff] [blame] | 141 | append_list_if(COMPILER_RT_DEBUG -DSANITIZER_DEBUG=1 COMPILER_RT_TEST_CFLAGS) |
| 142 | |
Stephen Hines | 6a211c5 | 2014-07-21 00:49:56 -0700 | [diff] [blame] | 143 | if(MSVC) |
| 144 | # clang doesn't support exceptions on Windows yet. |
Stephen Hines | 86277eb | 2015-03-23 12:06:32 -0700 | [diff] [blame] | 145 | list(APPEND COMPILER_RT_TEST_CFLAGS -D_HAS_EXCEPTIONS=0) |
Stephen Hines | 6a211c5 | 2014-07-21 00:49:56 -0700 | [diff] [blame] | 146 | |
| 147 | # We should teach clang to understand "#pragma intrinsic", see PR19898. |
| 148 | list(APPEND COMPILER_RT_TEST_CFLAGS -Wno-undefined-inline) |
| 149 | |
| 150 | # Clang doesn't support SEH on Windows yet. |
| 151 | list(APPEND COMPILER_RT_GTEST_CFLAGS -DGTEST_HAS_SEH=0) |
| 152 | |
| 153 | # gtest use a lot of stuff marked as deprecated on Windows. |
| 154 | list(APPEND COMPILER_RT_GTEST_CFLAGS -Wno-deprecated-declarations) |
Stephen Hines | 6d18623 | 2014-11-26 17:56:19 -0800 | [diff] [blame] | 155 | |
| 156 | # Visual Studio 2012 only supports up to 8 template parameters in |
| 157 | # std::tr1::tuple by default, but gtest requires 10 |
| 158 | if(MSVC_VERSION EQUAL 1700) |
| 159 | list(APPEND COMPILER_RT_GTEST_CFLAGS -D_VARIADIC_MAX=10) |
| 160 | endif() |
Stephen Hines | 6a211c5 | 2014-07-21 00:49:56 -0700 | [diff] [blame] | 161 | endif() |
| 162 | |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 163 | # Link objects into a single executable with COMPILER_RT_TEST_COMPILER, |
| 164 | # using specified link flags. Make executable a part of provided |
Alexey Samsonov | 02dcc63 | 2012-12-19 12:33:39 +0000 | [diff] [blame] | 165 | # test_suite. |
| 166 | # add_compiler_rt_test(<test_suite> <test_name> |
Stephen Hines | 86277eb | 2015-03-23 12:06:32 -0700 | [diff] [blame] | 167 | # SUBDIR <subdirectory for binary> |
Alexey Samsonov | 02dcc63 | 2012-12-19 12:33:39 +0000 | [diff] [blame] | 168 | # OBJECTS <object files> |
| 169 | # DEPS <deps (e.g. runtime libs)> |
| 170 | # LINK_FLAGS <link flags>) |
| 171 | macro(add_compiler_rt_test test_suite test_name) |
Stephen Hines | 86277eb | 2015-03-23 12:06:32 -0700 | [diff] [blame] | 172 | parse_arguments(TEST "SUBDIR;OBJECTS;DEPS;LINK_FLAGS" "" ${ARGN}) |
| 173 | if(TEST_SUBDIR) |
| 174 | set(output_bin "${CMAKE_CURRENT_BINARY_DIR}/${TEST_SUBDIR}/${test_name}") |
| 175 | else() |
| 176 | set(output_bin "${CMAKE_CURRENT_BINARY_DIR}/${test_name}") |
| 177 | endif() |
| 178 | if(MSVC) |
| 179 | set(output_bin "${output_bin}.exe") |
| 180 | endif() |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 181 | # Use host compiler in a standalone build, and just-built Clang otherwise. |
| 182 | if(NOT COMPILER_RT_STANDALONE_BUILD) |
| 183 | list(APPEND TEST_DEPS clang) |
| 184 | endif() |
| 185 | # If we're not on MSVC, include the linker flags from CMAKE but override them |
| 186 | # with the provided link flags. This ensures that flags which are required to |
| 187 | # link programs at all are included, but the changes needed for the test |
| 188 | # trump. With MSVC we can't do that because CMake is set up to run link.exe |
| 189 | # when linking, not the compiler. Here, we hack it to use the compiler |
| 190 | # because we want to use -fsanitize flags. |
| 191 | if(NOT MSVC) |
| 192 | set(TEST_LINK_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${TEST_LINK_FLAGS}") |
| 193 | separate_arguments(TEST_LINK_FLAGS) |
| 194 | endif() |
Alexey Samsonov | a74424e | 2013-01-28 09:07:30 +0000 | [diff] [blame] | 195 | add_custom_target(${test_name} |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 196 | COMMAND ${COMPILER_RT_TEST_COMPILER} ${TEST_OBJECTS} |
Stephen Hines | 6a211c5 | 2014-07-21 00:49:56 -0700 | [diff] [blame] | 197 | -o "${output_bin}" |
Alexey Samsonov | 02dcc63 | 2012-12-19 12:33:39 +0000 | [diff] [blame] | 198 | ${TEST_LINK_FLAGS} |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 199 | DEPENDS ${TEST_DEPS}) |
Alexey Samsonov | 02dcc63 | 2012-12-19 12:33:39 +0000 | [diff] [blame] | 200 | # Make the test suite depend on the binary. |
| 201 | add_dependencies(${test_suite} ${test_name}) |
| 202 | endmacro() |
Alexey Samsonov | c1caace | 2013-05-21 13:48:27 +0000 | [diff] [blame] | 203 | |
| 204 | macro(add_compiler_rt_resource_file target_name file_name) |
| 205 | set(src_file "${CMAKE_CURRENT_SOURCE_DIR}/${file_name}") |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 206 | set(dst_file "${COMPILER_RT_OUTPUT_DIR}/${file_name}") |
| 207 | add_custom_command(OUTPUT ${dst_file} |
| 208 | DEPENDS ${src_file} |
Alexey Samsonov | c1caace | 2013-05-21 13:48:27 +0000 | [diff] [blame] | 209 | COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src_file} ${dst_file} |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 210 | COMMENT "Copying ${file_name}...") |
| 211 | add_custom_target(${target_name} DEPENDS ${dst_file}) |
Alexey Samsonov | c1caace | 2013-05-21 13:48:27 +0000 | [diff] [blame] | 212 | # Install in Clang resource directory. |
Stephen Hines | 2d1fdb2 | 2014-05-28 23:58:16 -0700 | [diff] [blame] | 213 | install(FILES ${file_name} DESTINATION ${COMPILER_RT_INSTALL_PATH}) |
| 214 | endmacro() |
| 215 | |
| 216 | macro(add_compiler_rt_script name) |
| 217 | set(dst ${COMPILER_RT_EXEC_OUTPUT_DIR}/${name}) |
| 218 | set(src ${CMAKE_CURRENT_SOURCE_DIR}/${name}) |
| 219 | add_custom_command(OUTPUT ${dst} |
| 220 | DEPENDS ${src} |
| 221 | COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src} ${dst} |
| 222 | COMMENT "Copying ${name}...") |
| 223 | add_custom_target(${name} DEPENDS ${dst}) |
| 224 | install(FILES ${dst} |
| 225 | PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE |
| 226 | DESTINATION ${COMPILER_RT_INSTALL_PATH}/bin) |
| 227 | endmacro(add_compiler_rt_script src name) |
| 228 | |
| 229 | # Builds custom version of libc++ and installs it in <prefix>. |
| 230 | # Can be used to build sanitized versions of libc++ for running unit tests. |
| 231 | # add_custom_libcxx(<name> <prefix> |
| 232 | # DEPS <list of build deps> |
| 233 | # CFLAGS <list of compile flags>) |
| 234 | macro(add_custom_libcxx name prefix) |
| 235 | if(NOT COMPILER_RT_HAS_LIBCXX_SOURCES) |
| 236 | message(FATAL_ERROR "libcxx not found!") |
| 237 | endif() |
| 238 | |
| 239 | parse_arguments(LIBCXX "DEPS;CFLAGS" "" ${ARGN}) |
| 240 | foreach(flag ${LIBCXX_CFLAGS}) |
| 241 | set(flagstr "${flagstr} ${flag}") |
| 242 | endforeach() |
| 243 | set(LIBCXX_CFLAGS ${flagstr}) |
| 244 | |
| 245 | if(NOT COMPILER_RT_STANDALONE_BUILD) |
| 246 | list(APPEND LIBCXX_DEPS clang) |
| 247 | endif() |
| 248 | |
| 249 | ExternalProject_Add(${name} |
| 250 | PREFIX ${prefix} |
| 251 | SOURCE_DIR ${COMPILER_RT_LIBCXX_PATH} |
| 252 | CMAKE_ARGS -DCMAKE_C_COMPILER=${COMPILER_RT_TEST_COMPILER} |
| 253 | -DCMAKE_CXX_COMPILER=${COMPILER_RT_TEST_COMPILER} |
| 254 | -DCMAKE_C_FLAGS=${LIBCXX_CFLAGS} |
| 255 | -DCMAKE_CXX_FLAGS=${LIBCXX_CFLAGS} |
| 256 | -DCMAKE_BUILD_TYPE=Release |
| 257 | -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> |
| 258 | LOG_BUILD 1 |
| 259 | LOG_CONFIGURE 1 |
| 260 | LOG_INSTALL 1 |
| 261 | ) |
| 262 | |
| 263 | ExternalProject_Add_Step(${name} force-reconfigure |
| 264 | DEPENDERS configure |
| 265 | ALWAYS 1 |
| 266 | ) |
| 267 | |
| 268 | ExternalProject_Add_Step(${name} clobber |
| 269 | COMMAND ${CMAKE_COMMAND} -E remove_directory <BINARY_DIR> |
| 270 | COMMAND ${CMAKE_COMMAND} -E make_directory <BINARY_DIR> |
| 271 | COMMENT "Clobberring ${name} build directory..." |
| 272 | DEPENDERS configure |
| 273 | DEPENDS ${LIBCXX_DEPS} |
| 274 | ) |
Alexey Samsonov | c1caace | 2013-05-21 13:48:27 +0000 | [diff] [blame] | 275 | endmacro() |