summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2019-06-13 18:16:27 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2019-06-25 20:10:21 +0300
commit8367c2ed5c32eae1364e5fc27e734631cf69aae3 (patch)
treee0736c1bfb8d0bb9929929b500c3eac584909bcd
parent3f83c8a9dec07c03b210ef70140d0dd902c98b8b (diff)
downloadqtlocation-mapboxgl-8367c2ed5c32eae1364e5fc27e734631cf69aae3.tar.gz
[core] Added vendor/filesystem
-rw-r--r--.gitmodules3
-rw-r--r--cmake/vendor.cmake1
-rwxr-xr-xscripts/generate-file-lists.js1
m---------vendor/filesystem0
-rw-r--r--vendor/filesystem-files.json13
-rw-r--r--vendor/filesystem.cmake5
6 files changed, 23 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index b2bb7fd456..486a1c8bdc 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -100,3 +100,6 @@
[submodule "vendor/mapbox-gl-styles"]
path = vendor/mapbox-gl-styles
url = https://github.com/mapbox/mapbox-gl-styles.git
+[submodule "vendor/filesystem"]
+ path = vendor/filesystem
+ url = https://github.com/gulrak/filesystem.git
diff --git a/cmake/vendor.cmake b/cmake/vendor.cmake
index 0b2deeb552..bc1bad757f 100644
--- a/cmake/vendor.cmake
+++ b/cmake/vendor.cmake
@@ -9,6 +9,7 @@ include(${CMAKE_SOURCE_DIR}/vendor/cheap-ruler-cpp.cmake)
include(${CMAKE_SOURCE_DIR}/vendor/earcut.hpp.cmake)
include(${CMAKE_SOURCE_DIR}/vendor/eternal.cmake)
include(${CMAKE_SOURCE_DIR}/vendor/expected.cmake)
+include(${CMAKE_SOURCE_DIR}/vendor/filesystem.cmake)
include(${CMAKE_SOURCE_DIR}/vendor/geojson-vt-cpp.cmake)
include(${CMAKE_SOURCE_DIR}/vendor/geojson.hpp.cmake)
include(${CMAKE_SOURCE_DIR}/vendor/geometry.hpp.cmake)
diff --git a/scripts/generate-file-lists.js b/scripts/generate-file-lists.js
index f90acbe6e0..c4cf11a4c5 100755
--- a/scripts/generate-file-lists.js
+++ b/scripts/generate-file-lists.js
@@ -130,6 +130,7 @@ generateFileList('vendor/cheap-ruler-cpp-files.json', 'vendor/cheap-ruler-cpp',
generateFileList('vendor/earcut.hpp-files.json', 'vendor/earcut.hpp', vendorRegex, [ "include/**/*.hpp" ]);
generateFileList('vendor/eternal-files.json', 'vendor/eternal', vendorRegex, [ "include/**/*.hpp" ]);
generateFileList('vendor/expected-files.json', 'vendor/expected', vendorRegex, [ "include/expected.hpp" ]);
+generateFileList('vendor/filesystem-files.json', 'vendor/filesystem', vendorRegex, [ "include/**/*.hpp" ]);
generateFileList('vendor/geojson-vt-cpp-files.json', 'vendor/geojson-vt-cpp', vendorRegex, [ "include/**/*.hpp" ]);
generateFileList('vendor/geojson.hpp-files.json', 'vendor/geojson.hpp', vendorRegex, [ "include/**/*.hpp" ]);
generateFileList('vendor/geometry.hpp-files.json', 'vendor/geometry.hpp', vendorRegex, [ "include/**/*.hpp" ]);
diff --git a/vendor/filesystem b/vendor/filesystem
new file mode 160000
+Subproject 091c08663ac3e38aea1ccaeae235340f5154f5a
diff --git a/vendor/filesystem-files.json b/vendor/filesystem-files.json
new file mode 100644
index 0000000000..d65e9c828e
--- /dev/null
+++ b/vendor/filesystem-files.json
@@ -0,0 +1,13 @@
+{
+ "//": "This file is generated. Do not edit. Regenerate it with scripts/generate-file-lists.js",
+ "sources": [],
+ "public_headers": {
+ "ghc/filesystem.hpp": "vendor/filesystem/include/ghc/filesystem.hpp",
+ "ghc/fs_fwd.hpp": "vendor/filesystem/include/ghc/fs_fwd.hpp",
+ "ghc/fs_impl.hpp": "vendor/filesystem/include/ghc/fs_impl.hpp",
+ "ghc/fs_std.hpp": "vendor/filesystem/include/ghc/fs_std.hpp",
+ "ghc/fs_std_fwd.hpp": "vendor/filesystem/include/ghc/fs_std_fwd.hpp",
+ "ghc/fs_std_impl.hpp": "vendor/filesystem/include/ghc/fs_std_impl.hpp"
+ },
+ "private_headers": {}
+}
diff --git a/vendor/filesystem.cmake b/vendor/filesystem.cmake
new file mode 100644
index 0000000000..fe2701890d
--- /dev/null
+++ b/vendor/filesystem.cmake
@@ -0,0 +1,5 @@
+add_library(filesystem INTERFACE)
+
+target_include_directories(filesystem SYSTEM INTERFACE
+ ${CMAKE_SOURCE_DIR}/vendor/filesystem/include
+)