mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
3ab40ca3d5
built native tblgen which is passed to cmake in the variable LLVM_TABLEGEN. See http://www.cmake.org/Wiki/CmakeMingw for a quick example on how to cross-compile with CMake. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58939 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
292 B
CMake
7 lines
292 B
CMake
# TODO: Build a native tblgen when cross-compiling, if the user
|
|
# didn't set LLVM_TABLEGEN. Then, remove this check:
|
|
if( CMAKE_CROSSCOMPILING AND ${LLVM_TABLEGEN} STREQUAL "tblgen" )
|
|
message(FATAL_ERROR
|
|
"Set LLVM_TABLEGEN to the full route to a native tblgen executable")
|
|
endif()
|