Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tikki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
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
openmp
Tikki
Commits
f592042f
Commit
f592042f
authored
5 years ago
by
Thierry
Browse files
Options
Downloads
Patches
Plain Diff
Update git_hash.sh
parent
b72d4d95
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/git_hash.sh
+1
-1
1 addition, 1 deletion
config/git_hash.sh
tracelib/CMakeLists.txt
+1
-1
1 addition, 1 deletion
tracelib/CMakeLists.txt
with
2 additions
and
2 deletions
config/git_hash.sh
+
1
−
1
View file @
f592042f
#!/bin/bash
#!/bin/bash
echo
"#define GIT_HASH"
\"
`
git describe
--always
--dirty
=
+
--tags
--long
--abbrev
=
16
`
\"
>
$
1
cd
$1
;
echo
"#define GIT_HASH"
\"
`
git describe
--always
--dirty
=
+
--tags
--long
--abbrev
=
16
`
\"
>
$
2
This diff is collapsed.
Click to expand it.
tracelib/CMakeLists.txt
+
1
−
1
View file @
f592042f
add_custom_command
(
add_custom_command
(
OUTPUT
${
CMAKE_CURRENT_BINARY_DIR
}
/git_hash.h
OUTPUT
${
CMAKE_CURRENT_BINARY_DIR
}
/git_hash.h
COMMAND
${
SHELL_EXECUTABLE
}
${
CMAKE_SOURCE_DIR
}
/config/git_hash.sh
${
CMAKE_CURRENT_BINARY_DIR
}
/git_hash.h
COMMAND
${
SHELL_EXECUTABLE
}
${
CMAKE_SOURCE_DIR
}
/config/git_hash.sh
${
CMAKE_SOURCE_DIR
}
${
CMAKE_CURRENT_BINARY_DIR
}
/git_hash.h
)
)
add_custom_command
(
add_custom_command
(
...
...
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