Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
843f0a12
Commit
843f0a12
authored
Feb 02, 2015
by
Kenton Varda
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #177 from a-richardson/fix-cmake-version
Also set the version for the CMake build
parents
bd6f4d58
7afed085
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
CMakeLists.txt
c++/CMakeLists.txt
+1
-0
release.sh
release.sh
+1
-0
No files found.
c++/CMakeLists.txt
View file @
843f0a12
project
(
"Cap'n Proto"
CXX
)
project
(
"Cap'n Proto"
CXX
)
cmake_minimum_required
(
VERSION 2.8
)
cmake_minimum_required
(
VERSION 2.8
)
set
(
VERSION 0.6-dev
)
set
(
CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
set
(
CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
...
...
release.sh
View file @
843f0a12
...
@@ -37,6 +37,7 @@ update_version() {
...
@@ -37,6 +37,7 @@ update_version() {
local
OLD_REGEX
=
${
OLD
//./[.]
}
local
OLD_REGEX
=
${
OLD
//./[.]
}
doit
sed
-i
-e
"s/
$OLD_REGEX
/
$NEW
/g"
c++/configure.ac
doit
sed
-i
-e
"s/
$OLD_REGEX
/
$NEW
/g"
c++/configure.ac
doit
sed
-i
-e
"s/set(VERSION.*)/set(VERSION
$NEW
)/g"
c++/CMakeLists.txt
local
NEW_NOTAG
=
${
NEW
%%-*
}
local
NEW_NOTAG
=
${
NEW
%%-*
}
declare
-a
NEW_ARR
=(
${
NEW_NOTAG
//./
}
)
declare
-a
NEW_ARR
=(
${
NEW_NOTAG
//./
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment