r197461 - [CMake][Standalone] Import LLVM_LIT_TOOLS_DIR.
NAKAMURA Takumi
geek4civic at gmail.com
Mon Dec 16 20:14:26 PST 2013
Author: chapuni
Date: Mon Dec 16 22:14:26 2013
New Revision: 197461
URL: http://llvm.org/viewvc/llvm-project?rev=197461&view=rev
Log:
[CMake][Standalone] Import LLVM_LIT_TOOLS_DIR.
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=197461&r1=197460&r2=197461&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Mon Dec 16 22:14:26 2013
@@ -68,6 +68,11 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
endif()
set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
+ # On Win32 hosts, provide an option to specify the path to the GnuWin32 tools.
+ if( WIN32 AND NOT CYGWIN )
+ set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to GnuWin32 tools")
+ endif()
+
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )
More information about the cfe-commits
mailing list