gqlite 0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 400460fe39a746dd8d0f17adf4abeeba49d2bac220069f3a621f19b5af1d0583
4
+ data.tar.gz: 9489a98162301681160483b63523beeebb73dadb156b6ae7d835f36c17d21e82
5
+ SHA512:
6
+ metadata.gz: bbbf7139291f60fd3cb1597fe6cc82cd505016df9c603314596b8178fb1a9df1578670018baffd43f6838180e6078ae856b5b27cd5f0a4f9e8c723195f1b4b8a
7
+ data.tar.gz: e99d1a32a95ecd99c723bb16c78bf20490f055f2f4dc383e13a45f0bf52c8b17bfd8404e32c3c82bc38300930e0358d7bb67c84e4c763ae18670608035aec477
@@ -0,0 +1,19 @@
1
+ require "mkmf"
2
+
3
+ # Build the gqlite library
4
+
5
+ # Platforms check
6
+ IS_MSWIN = !RbConfig::CONFIG['host_os'].match(/mswin/).nil?
7
+ IS_MINGW = !RbConfig::CONFIG['host_os'].match(/mingw/).nil?
8
+ IS_DARWIN = !RbConfig::CONFIG['host_os'].match(/darwin/).nil?
9
+
10
+ # gqlite
11
+ if IS_MSWIN
12
+ $CXXFLAGS += " /std:c++20 /EHsc /permissive- /bigobj"
13
+ elsif IS_MINGW
14
+ $CXXFLAGS += " -std=c++20 -Wa,-mbig-obj"
15
+ else
16
+ $CXXFLAGS += " -std=c++20"
17
+ end
18
+
19
+ create_makefile "gqlite"