Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
9adce307
Commit
9adce307
authored
7 years ago
by
Pere Mato Vila
Browse files
Options
Downloads
Patches
Plain Diff
Fix for ROOT-9077 - etc/http not sync'ed by the build system
parent
5638f516
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+9
-14
9 additions, 14 deletions
CMakeLists.txt
with
9 additions
and
14 deletions
CMakeLists.txt
+
9
−
14
View file @
9adce307
...
...
@@ -133,31 +133,26 @@ endforeach()
#---Move (copy) directories to binary tree------------------------------------------------------
set
(
stamp_file
${
CMAKE_CURRENT_BINARY_DIR
}${
CMAKE_FILES_DIRECTORY
}
/move_artifacts.stamp
)
add_custom_command
(
OUTPUT
${
stamp_file
}
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
CMAKE_SOURCE_DIR
}
/etc
${
CMAKE_BINARY_DIR
}
/etc
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
CMAKE_SOURCE_DIR
}
/test
${
CMAKE_BINARY_DIR
}
/test
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
CMAKE_SOURCE_DIR
}
/icons
${
CMAKE_BINARY_DIR
}
/icons
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
CMAKE_SOURCE_DIR
}
/fonts
${
CMAKE_BINARY_DIR
}
/fonts
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
CMAKE_SOURCE_DIR
}
/macros
${
CMAKE_BINARY_DIR
}
/macros
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
CMAKE_SOURCE_DIR
}
/LICENSE
${
CMAKE_BINARY_DIR
}
/LICENSE
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
CMAKE_SOURCE_DIR
}
/README
${
CMAKE_BINARY_DIR
}
/README
COMMAND
${
CMAKE_COMMAND
}
-E touch
${
stamp_file
}
COMMENT
"Copying directories such as etc, icons, fonts, etc. to build area"
)
#---Copy the the tutorials to the build area, with dependency---------------------------------
file
(
GLOB_RECURSE
tutorial
_files RELATIVE
${
CMAKE_SOURCE_DIR
}
tutorials/*
)
set
(
tutorial
_files_builddir
)
foreach
(
tutorial_file
${
tutorial
_files
}
)
file
(
GLOB_RECURSE
artifact
_files RELATIVE
${
CMAKE_SOURCE_DIR
}
tutorials/*
etc/* test/* icons/* fonts/* macros/*
)
set
(
artifact
_files_builddir
)
foreach
(
artifact_file
${
artifact
_files
}
)
# Filter out hsimple.root; someone might have created it in the src dir, and the hsimple.root
# target below will interfere.
if
(
NOT
(
tutorial_file STREQUAL
"tutorials/hsimple.root"
))
add_custom_command
(
OUTPUT
${
CMAKE_BINARY_DIR
}
/
${
tutorial
_file
}
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
CMAKE_SOURCE_DIR
}
/
${
tutorial
_file
}
${
CMAKE_BINARY_DIR
}
/
${
tutorial
_file
}
COMMENT
"Copying
${
CMAKE_SOURCE_DIR
}
/
${
tutorial
_file
}
"
DEPENDS
${
CMAKE_SOURCE_DIR
}
/
${
tutorial
_file
}
)
list
(
APPEND
tutorial
_files_builddir
${
CMAKE_BINARY_DIR
}
/
${
tutorial
_file
}
)
add_custom_command
(
OUTPUT
${
CMAKE_BINARY_DIR
}
/
${
artifact
_file
}
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
CMAKE_SOURCE_DIR
}
/
${
artifact
_file
}
${
CMAKE_BINARY_DIR
}
/
${
artifact
_file
}
COMMENT
"Copying
${
CMAKE_SOURCE_DIR
}
/
${
artifact
_file
}
"
DEPENDS
${
CMAKE_SOURCE_DIR
}
/
${
artifact
_file
}
)
list
(
APPEND
artifact
_files_builddir
${
CMAKE_BINARY_DIR
}
/
${
artifact
_file
}
)
endif
()
endforeach
()
add_custom_target
(
move_artifacts DEPENDS
${
stamp_file
}
${
tutorial
_files_builddir
}
)
add_custom_target
(
move_artifacts DEPENDS
${
stamp_file
}
${
artifact
_files_builddir
}
)
add_subdirectory
(
interpreter
)
# Add the compilation flags from LLVM to the flags we use to compile cling-based tools.
...
...
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