Commit e654492 1 parent 9718fe8 commit e654492 Copy full SHA for e654492
File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,6 @@ sources:
17
17
" 1.9.0 " :
18
18
sha256 : e83f3daad30bd91fed668bdb56ad379c4aeea39d7dc640484fdcc55149b6d0e4
19
19
url : https://github.com/Morwenn/cpp-sort/archive/1.9.0.tar.gz
20
+ " 1.10.0 " :
21
+ sha256 : 48951cac0051d48fee286c3bc02804975f9d83269d80c10dfc5589e76a542765
22
+ url : https://github.com/Morwenn/cpp-sort/archive/1.10.0.tar.gz
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ def _minimum_compilers_version(self):
27
27
return {
28
28
"apple-clang" : "9.4" ,
29
29
"clang" : "3.8" ,
30
- "gcc" : "5.5"
30
+ "gcc" : "5.5" ,
31
+ "Visual Studio" : "16"
31
32
}
32
33
33
34
def validate (self ):
@@ -72,5 +73,9 @@ def package(self):
72
73
# Remove CMake config files (only files in lib)
73
74
tools .rmdir (os .path .join (self .package_folder , "lib" ))
74
75
76
+ def package_info (self ):
77
+ if self .settings .compiler == "Visual Studio" :
78
+ self .cpp_info .cxxflags = ["/permissive-" ]
79
+
75
80
def package_id (self ):
76
81
self .info .header_only ()
Original file line number Diff line number Diff line change @@ -11,3 +11,5 @@ versions:
11
11
folder : all
12
12
" 1.9.0 " :
13
13
folder : all
14
+ " 1.10.0 " :
15
+ folder : all
You can’t perform that action at this time.
0 commit comments