File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11project (
22 ' cpplox' ,
33 ' cpp' ,
4- version : ' 1.0.7 ' ,
4+ version : ' 1.0.8 ' ,
55 default_options : [
66 ' warning_level=3' ,
77 ' cpp_std=c++20' ,
88 ],
99)
1010
11+ # Make the executable static so that dll/so version mismatch can be avoided
12+ system = host_machine .system()
13+ if system == ' windows'
14+ add_project_arguments ([' -static-libstdc++' , ' -static-libgcc' ], language : ' cpp' )
15+ elif system == ' linux'
16+ add_project_arguments ([' -static-libstdc++' , ' -static-libgcc' ], language : ' cpp' )
17+ elif system == ' darwin'
18+ add_project_arguments ([' -stdlib=libc++' ], language : ' cpp' )
19+ endif
20+
1121include_dirs = include_directories ([' include' , ' thirdparty' ])
1222project_deps = [dependency (' fmt' , static : true )]
1323
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ int main(int argc, char *argv[])
7575
7676 if (result.count (" version" ))
7777 {
78- fmt::println (" v1.0.7 " );
78+ fmt::println (" v1.0.8 " );
7979 exit (0 );
8080 }
8181
You can’t perform that action at this time.
0 commit comments