mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
CMake: Add the new option LLVM_LIT_TOOLS_DIR. It can specify "Path to GnuWin32 tools".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125173 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e29b0aca51
commit
b656a11c70
@ -21,6 +21,8 @@ endif()
|
|||||||
set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}"
|
set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}"
|
||||||
CACHE STRING "Default options for lit")
|
CACHE STRING "Default options for lit")
|
||||||
|
|
||||||
|
set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to GnuWin32 tools")
|
||||||
|
|
||||||
if( LLVM_ENABLE_ASSERTIONS )
|
if( LLVM_ENABLE_ASSERTIONS )
|
||||||
# MSVC doesn't like _DEBUG on release builds. See PR 4379.
|
# MSVC doesn't like _DEBUG on release builds. See PR 4379.
|
||||||
if( NOT MSVC )
|
if( NOT MSVC )
|
||||||
|
@ -4,6 +4,7 @@ config.llvm_src_root = "@LLVM_SOURCE_DIR@"
|
|||||||
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
|
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
|
||||||
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
|
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
|
||||||
config.llvmgcc_dir = "@LLVMGCCDIR@"
|
config.llvmgcc_dir = "@LLVMGCCDIR@"
|
||||||
|
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
|
||||||
config.python_executable = "@PYTHON_EXECUTABLE@"
|
config.python_executable = "@PYTHON_EXECUTABLE@"
|
||||||
config.enable_shared = @ENABLE_SHARED@
|
config.enable_shared = @ENABLE_SHARED@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user