Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
6c5fbbca
Commit
6c5fbbca
authored
10 years ago
by
NAKAMURA Takumi
Browse files
Options
Downloads
Patches
Plain Diff
[CMake] Introduce LLVM_SHLIB_OUTPUT_INTDIR.
For now, its user is configure_lit_site_cfg(). llvm-svn: 212314
parent
38d45a2d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
llvm/CMakeLists.txt
+6
-0
6 additions, 0 deletions
llvm/CMakeLists.txt
llvm/cmake/modules/AddLLVM.cmake
+1
-1
1 addition, 1 deletion
llvm/cmake/modules/AddLLVM.cmake
with
7 additions
and
1 deletion
llvm/CMakeLists.txt
+
6
−
0
View file @
6c5fbbca
...
@@ -114,6 +114,12 @@ string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
...
@@ -114,6 +114,12 @@ string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
# They are used as destination of target generators.
# They are used as destination of target generators.
set
(
LLVM_RUNTIME_OUTPUT_INTDIR
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
CMAKE_CFG_INTDIR
}
/bin
)
set
(
LLVM_RUNTIME_OUTPUT_INTDIR
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
CMAKE_CFG_INTDIR
}
/bin
)
set
(
LLVM_LIBRARY_OUTPUT_INTDIR
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
CMAKE_CFG_INTDIR
}
/lib
)
set
(
LLVM_LIBRARY_OUTPUT_INTDIR
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
CMAKE_CFG_INTDIR
}
/lib
)
if
(
WIN32 OR CYGWIN
)
# DLL platform -- put DLLs into bin.
set
(
LLVM_SHLIB_OUTPUT_INTDIR
${
LLVM_RUNTIME_OUTPUT_INTDIR
}
)
else
()
set
(
LLVM_SHLIB_OUTPUT_INTDIR
${
LLVM_LIBRARY_OUTPUT_INTDIR
}
)
endif
()
# Each of them corresponds to llvm-config's.
# Each of them corresponds to llvm-config's.
set
(
LLVM_TOOLS_BINARY_DIR
${
LLVM_RUNTIME_OUTPUT_INTDIR
}
)
# --bindir
set
(
LLVM_TOOLS_BINARY_DIR
${
LLVM_RUNTIME_OUTPUT_INTDIR
}
)
# --bindir
...
...
This diff is collapsed.
Click to expand it.
llvm/cmake/modules/AddLLVM.cmake
+
1
−
1
View file @
6c5fbbca
...
@@ -595,7 +595,7 @@ function(configure_lit_site_cfg input output)
...
@@ -595,7 +595,7 @@ function(configure_lit_site_cfg input output)
string
(
REPLACE
${
CMAKE_CFG_INTDIR
}
${
LLVM_BUILD_MODE
}
LLVM_LIBS_DIR
${
LLVM_LIBRARY_DIR
}
)
string
(
REPLACE
${
CMAKE_CFG_INTDIR
}
${
LLVM_BUILD_MODE
}
LLVM_LIBS_DIR
${
LLVM_LIBRARY_DIR
}
)
# SHLIBDIR points the build tree.
# SHLIBDIR points the build tree.
string
(
REPLACE
${
CMAKE_CFG_INTDIR
}
${
LLVM_BUILD_MODE
}
SHLIBDIR
${
LLVM_LIB
RARY
_OUTPUT_INTDIR
}
)
string
(
REPLACE
${
CMAKE_CFG_INTDIR
}
${
LLVM_BUILD_MODE
}
SHLIBDIR
"
${
LLVM_
SH
LIB_OUTPUT_INTDIR
}
"
)
set
(
PYTHON_EXECUTABLE
${
PYTHON_EXECUTABLE
}
)
set
(
PYTHON_EXECUTABLE
${
PYTHON_EXECUTABLE
}
)
set
(
ENABLE_SHARED
${
LLVM_SHARED_LIBS_ENABLED
}
)
set
(
ENABLE_SHARED
${
LLVM_SHARED_LIBS_ENABLED
}
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment