summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules/TableGen.cmake
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-02-09 16:38:31 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-02-09 16:38:31 +0000
commitdba47bfe7b1ddd9b8780224a3e63f894d076bece (patch)
tree45ad9bacc61304b28e8af205e229a0fa2a8a9c81 /llvm/cmake/modules/TableGen.cmake
parent01e3c64f115c52fd4a5fee0c793895f73552237a (diff)
downloadbcm5719-llvm-dba47bfe7b1ddd9b8780224a3e63f894d076bece.tar.gz
bcm5719-llvm-dba47bfe7b1ddd9b8780224a3e63f894d076bece.zip
Whitespace.
llvm-svn: 201054
Diffstat (limited to 'llvm/cmake/modules/TableGen.cmake')
-rw-r--r--llvm/cmake/modules/TableGen.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/cmake/modules/TableGen.cmake b/llvm/cmake/modules/TableGen.cmake
index 8880fe12b47..700affab102 100644
--- a/llvm/cmake/modules/TableGen.cmake
+++ b/llvm/cmake/modules/TableGen.cmake
@@ -9,14 +9,14 @@ function(tablegen project ofn)
if (IS_ABSOLUTE ${LLVM_TARGET_DEFINITIONS})
set(LLVM_TARGET_DEFINITIONS_ABSOLUTE ${LLVM_TARGET_DEFINITIONS})
else()
- set(LLVM_TARGET_DEFINITIONS_ABSOLUTE
+ set(LLVM_TARGET_DEFINITIONS_ABSOLUTE
${CMAKE_CURRENT_SOURCE_DIR}/${LLVM_TARGET_DEFINITIONS})
endif()
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${ofn}.tmp
# Generate tablegen output in a temporary file.
COMMAND ${${project}_TABLEGEN_EXE} ${ARGN} -I ${CMAKE_CURRENT_SOURCE_DIR}
-I ${LLVM_MAIN_SRC_DIR}/lib/Target -I ${LLVM_MAIN_INCLUDE_DIR}
- ${LLVM_TARGET_DEFINITIONS_ABSOLUTE}
+ ${LLVM_TARGET_DEFINITIONS_ABSOLUTE}
-o ${CMAKE_CURRENT_BINARY_DIR}/${ofn}.tmp
# The file in LLVM_TARGET_DEFINITIONS may be not in the current
# directory and local_tds may not contain it, so we must
@@ -41,7 +41,7 @@ function(tablegen project ofn)
PROPERTY ADDITIONAL_MAKE_CLEAN_FILES ${ofn}.tmp ${ofn})
set(TABLEGEN_OUTPUT ${TABLEGEN_OUTPUT} ${CMAKE_CURRENT_BINARY_DIR}/${ofn} PARENT_SCOPE)
- set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${ofn}
+ set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${ofn}
PROPERTIES GENERATED 1)
endfunction(tablegen)
@@ -95,7 +95,7 @@ macro(add_tablegen target project)
FORCE)
endif()
endif()
-
+
# Effective tblgen executable to be used:
set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN} PARENT_SCOPE)
OpenPOWER on IntegriCloud