Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pwrutils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
pwrutils
Commits
46178b10
Commit
46178b10
authored
Sep 16, 2020
by
Mateusz Gniewkowski
Browse files
Options
Downloads
Patches
Plain Diff
version.h
parent
1c0d14ed
No related branches found
No related tags found
No related merge requests found
Pipeline
#1783
passed
Sep 16, 2020
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+0
-2
0 additions, 2 deletions
CMakeLists.txt
include/libpwrutils/version.h
+4
-4
4 additions, 4 deletions
include/libpwrutils/version.h
with
4 additions
and
6 deletions
CMakeLists.txt
+
0
−
2
View file @
46178b10
...
@@ -10,8 +10,6 @@ set(pwrutils_ver_patch "1")
...
@@ -10,8 +10,6 @@ set(pwrutils_ver_patch "1")
set
(
LIBPWRUTILS_VERSION
set
(
LIBPWRUTILS_VERSION
"
${
pwrutils_ver_major
}
.
${
pwrutils_ver_minor
}
.
${
pwrutils_ver_patch
}
"
)
"
${
pwrutils_ver_major
}
.
${
pwrutils_ver_minor
}
.
${
pwrutils_ver_patch
}
"
)
configure_file
(
include/libpwrutils/version.h include/libpwrutils/version.h @ONLY
)
include_directories
(
${
CMAKE_CURRENT_BINARY_DIR
}
)
include_directories
(
${
CMAKE_CURRENT_BINARY_DIR
}
)
include_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/include
)
include_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/include
)
add_definitions
(
-DHAVE_VERSION_H
)
add_definitions
(
-DHAVE_VERSION_H
)
...
...
This diff is collapsed.
Click to expand it.
include/libpwrutils/version.h
+
4
−
4
View file @
46178b10
#ifndef LIBPWRUTILS_VERSION_H
#ifndef LIBPWRUTILS_VERSION_H
#define LIBPWRUTILS_VERSION_H
#define LIBPWRUTILS_VERSION_H
#define LIBPWRUTILS_VERSION_MAJOR
@pwrutils_ver_major@
#define LIBPWRUTILS_VERSION_MAJOR
1
#define LIBPWRUTILS_VERSION_MINOR
@pwrutils_ver_minor@
#define LIBPWRUTILS_VERSION_MINOR
0
#define LIBPWRUTILS_VERSION_PATCH
@pwrutils_ver_patch@
#define LIBPWRUTILS_VERSION_PATCH
1
#define LIBPWRUTILS_VERSION "
@LIBPWRUTILS_VERSION@
"
#define LIBPWRUTILS_VERSION "
1.0.1
"
#endif
#endif
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