File tree Expand file tree Collapse file tree 5 files changed +36
-47
lines changed
Expand file tree Collapse file tree 5 files changed +36
-47
lines changed Original file line number Diff line number Diff line change 11
2-
3- example1_sources = files (
4- ' main.cpp'
5- )
2+ example1_sources = files (' main.cpp' )
63
74example1_args = []
85
@@ -11,10 +8,11 @@ if host_machine.system() == 'windows'
118 example1_args += [' -D_CRT_SECURE_NO_WARNINGS' ]
129endif
1310
14-
15- sqlitecpp_demo1_exe = executable (' SQLITECPP_sample_demo1' ,
16- sqlitecpp_sample1_srcs,
17- dependencies : sqlitecpp_dep,
18- # inherit the default options from sqlitecpp
19- override_options : sqlitecpp_opts,
20- cpp_args : example1_args,)
11+ executable (
12+ ' SQLITECPP_sample_demo1' ,
13+ sources : example1_sources,
14+ dependencies : sqlitecpp_dep,
15+ # inherit the default options from sqlitecpp
16+ override_options : sqlitecpp_opts,
17+ cpp_args : example1_args,
18+ )
Original file line number Diff line number Diff line change 1- example2_srcs = files (
2- ' src/main.cpp'
3- )
1+ example2_srcs = files (' src/main.cpp' )
42
53# if running on windows define _CRT_SECURE_NO_WARNINGS
64example2_args = []
75
8-
9- sqlitecpp_demo2_exe = executable (' SQLITECPP_sample_demo2' ,
10- sqlitecpp_sample2_srcs,
11- dependencies : sqlitecpp_dep,
12- # inherit the default options from sqlitecpp
13- override_options : sqlitecpp_opts,
14- cpp_args : example2_args)
6+ executable (
7+ ' SQLITECPP_sample_demo2' ,
8+ example2_srcs,
9+ dependencies : sqlitecpp_dep,
10+ # inherit the default options from sqlitecpp
11+ override_options : sqlitecpp_opts,
12+ cpp_args : example2_args,
13+ )
Original file line number Diff line number Diff line change @@ -86,14 +86,6 @@ sqlitecpp_test_srcs = files(
8686)
8787sqlitecpp_test_args = []
8888
89- ## samples
90-
91- sqlitecpp_sample1_srcs = files (
92- ' examples/example1/main.cpp' ,
93- )
94- sqlitecpp_sample2_srcs = files (
95- ' examples/example2/src/main.cpp' ,
96- )
9789
9890## using MSVC headers requires c++14, if not will show an error on xstddef as:
9991## 'auto' return without trailing return type; deduced return types are a C++14 extension
Original file line number Diff line number Diff line change 11[wrap-file]
2- directory = googletest-1.14 .0
3- source_url = https://github.com/google/googletest/archive/refs/tags/v1.14 .0.tar.gz
4- source_filename = gtest-1.14 .0.tar.gz
5- source_hash = 8ad598c73ad796e0d8280b082cebd82a630d73e73cd3c70057938a6501bba5d7
6- patch_filename = gtest_1.14 .0-1_patch.zip
7- patch_url = https://wrapdb.mesonbuild.com/v2/gtest_1.14 .0-1/get_patch
8- patch_hash = 2e693c7d3f9370a7aa6dac802bada0874d3198ad4cfdf75647b818f691182b50
9- source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/gtest_1.14 .0-1/gtest-1.14 .0.tar.gz
10- wrapdb_version = 1.14 .0-1
2+ directory = googletest-1.15 .0
3+ source_url = https://github.com/google/googletest/archive/refs/tags/v1.15 .0.tar.gz
4+ source_filename = gtest-1.15 .0.tar.gz
5+ source_hash = 7315acb6bf10e99f332c8a43f00d5fbb1ee6ca48c52f6b936991b216c586aaad
6+ patch_filename = gtest_1.15 .0-1_patch.zip
7+ patch_url = https://wrapdb.mesonbuild.com/v2/gtest_1.15 .0-1/get_patch
8+ patch_hash = 5f8e484c48fdc1029c7fd08807bd2615f8c9d16f90df6d81984f4f292752c925
9+ source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/gtest_1.15 .0-1/gtest-1.15 .0.tar.gz
10+ wrapdb_version = 1.15 .0-1
1111
1212[provide]
1313gtest = gtest_dep
Original file line number Diff line number Diff line change 11[wrap-file]
2- directory = sqlite-amalgamation-3420000
3- source_url = https://www.sqlite.org/2023 /sqlite-amalgamation-3420000 .zip
4- source_filename = sqlite-amalgamation-3420000 .zip
5- source_hash = 1cc824d0f5e675829fa37018318fda833ea56f7e9de2b41eddd9f7643b5ec29e
6- patch_filename = sqlite3_3.42.0 -1_patch.zip
7- patch_url = https://wrapdb.mesonbuild.com/v2/sqlite3_3.42.0 -1/get_patch
8- patch_hash = 821b2e49a9d3daea7415716c6958697de601bb66f66a5a176b18c1c86c48c9b8
9- source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/sqlite3_3.42.0 -1/sqlite-amalgamation-3420000 .zip
10- wrapdb_version = 3.42.0 -1
2+ directory = sqlite-amalgamation-3460100
3+ source_url = https://www.sqlite.org/2024 /sqlite-amalgamation-3460100 .zip
4+ source_filename = sqlite-amalgamation-3460100 .zip
5+ source_hash = 77823cb110929c2bcb0f5d48e4833b5c59a8a6e40cdea3936b99e199dbbe5784
6+ patch_filename = sqlite3_3.46.1 -1_patch.zip
7+ patch_url = https://wrapdb.mesonbuild.com/v2/sqlite3_3.46.1 -1/get_patch
8+ patch_hash = 1358b931e30a454e55dbedbc28d5844946a17c68b45a5333093152d7af75982b
9+ source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/sqlite3_3.46.1 -1/sqlite-amalgamation-3460100 .zip
10+ wrapdb_version = 3.46.1 -1
1111
1212[provide]
1313sqlite3 = sqlite3_dep
You can’t perform that action at this time.
0 commit comments