File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.15.7 )
2
2
project (ScipPP LANGUAGES CXX )
3
3
set (CMAKE_CXX_STANDARD 17 )
4
+ set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON )
4
5
5
6
option (USE_COVERAGE "Create coverage report." OFF )
6
7
option (BUILD_TESTS "Build tests." OFF )
Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4
4
5
5
## [ Unreleased] - [ Doc: Unreleased ]
6
6
7
+ ## [ 1.0.2] - 2023-08-12
8
+
9
+ ### Fixed
10
+
11
+ - [ PR7] ( https://github.com/scipopt/SCIPpp/pull/7 )
12
+ Export symbols on Windows.
13
+
7
14
## [ 1.0.1] - 2023-08-10
8
15
9
16
### Added
@@ -22,5 +29,6 @@ Initial release
22
29
23
30
[ Doc:Unreleased ] : https://scipopt.github.io/SCIPpp/
24
31
[ Unreleased ] : https://github.com/scipopt/SCIPpp
32
+ [ 1.0.2 ] : https://github.com/scipopt/SCIPpp/releases/tag/1.0.2
25
33
[ 1.0.1 ] : https://github.com/scipopt/SCIPpp/releases/tag/1.0.1
26
34
[ 1.0.0 ] : https://github.com/scipopt/SCIPpp/releases/tag/1.0.0
Original file line number Diff line number Diff line change @@ -61,12 +61,15 @@ def configure(self):
61
61
self .options .rm_safe ("fPIC" )
62
62
63
63
def set_version (self ):
64
- git = Git (self , folder = self .recipe_folder )
65
- try :
66
- self ._full_version = git .run ("describe --tags --dirty=-d" ).strip ()
67
- self .version = self ._full_version .split ('-' )[0 ]
68
- except :
69
- self .version = "1.0.0"
64
+ if self .version is None :
65
+ git = Git (self , folder = self .recipe_folder )
66
+ try :
67
+ self ._full_version = git .run ("describe --tags --dirty=-d" ).strip ()
68
+ self .version = self ._full_version .split ('-' )[0 ]
69
+ except :
70
+ self .version = "1.0.2"
71
+ else :
72
+ self ._full_version = self .version
70
73
71
74
def layout (self ):
72
75
cmake_layout (self )
You can’t perform that action at this time.
0 commit comments