Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bctoolbox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
bctoolbox
Commits
2f52170c
Commit
2f52170c
authored
Mar 03, 2016
by
Gautier Pelloux-Prayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMakeLists.txt: initialize SO_VERSION to 0
parent
090bf5b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
CMakeLists.txt
CMakeLists.txt
+3
-0
CMakeLists.txt
src/CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
2f52170c
...
...
@@ -21,7 +21,10 @@
############################################################################
cmake_minimum_required
(
VERSION 3.0
)
project
(
bctoolbox VERSION 0.0.2 LANGUAGES C CXX
)
set
(
BCTOOLBOX_SO_VERSION 0
)
set
(
BCTOOLBOXTESTER_SO_VERSION 0
)
option
(
ENABLE_SHARED
"Build shared library."
YES
)
option
(
ENABLE_STATIC
"Build static library."
YES
)
...
...
src/CMakeLists.txt
View file @
2f52170c
...
...
@@ -45,7 +45,7 @@ if(ENABLE_STATIC)
endif
()
if
(
ENABLE_SHARED
)
add_library
(
bctoolbox SHARED
${
BCTOOLBOX_SOURCE_FILES
}
)
set_target_properties
(
bctoolbox PROPERTIES VERSION
0.0.0 SOVERSION 0
)
set_target_properties
(
bctoolbox PROPERTIES VERSION
${
BCTOOLBOX_SO_VERSION
}
)
set_target_properties
(
bctoolbox PROPERTIES LINKER_LANGUAGE
"CXX"
)
if
(
MSVC
)
if
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
...
...
@@ -57,7 +57,7 @@ if(ENABLE_SHARED)
endif
()
if
(
CUNIT_FOUND
)
add_library
(
bctoolbox-tester SHARED
${
BCTOOLBOX_TESTER_SOURCE_FILES
}
)
set_target_properties
(
bctoolbox-tester PROPERTIES VERSION
0.0.0 SOVERSION 0
)
set_target_properties
(
bctoolbox-tester PROPERTIES VERSION
${
BCTOOLBOXTESTER_SO_VERSION
}
)
set_target_properties
(
bctoolbox-tester PROPERTIES LINKER_LANGUAGE
"CXX"
)
if
(
MSVC
)
if
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
...
...
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