projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d242564
)
[build] (CMake) customisable Caffe version/soversion
author
ray glover
<ray.glover@uk.ibm.com>
Tue, 10 May 2016 14:44:47 +0000
(15:44 +0100)
committer
ray glover
<ray.glover@uk.ibm.com>
Tue, 10 May 2016 14:47:07 +0000
(15:47 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
c5d99ce
..
da7142c
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-10,8
+10,8
@@
endif()
project(Caffe C CXX)
# ---[ Caffe version
-set(CAFFE_TARGET_VERSION "1.0.0-rc3")
-set(CAFFE_TARGET_SOVERSION "1.0.0-rc3")
+set(CAFFE_TARGET_VERSION "1.0.0-rc3"
CACHE STRING "Caffe logical version"
)
+set(CAFFE_TARGET_SOVERSION "1.0.0-rc3"
CACHE STRING "Caffe soname version"
)
add_definitions(-DCAFFE_VERSION=${CAFFE_TARGET_VERSION})
# ---[ Using cmake scripts and modules