summaryrefslogtreecommitdiff
path: root/cmake/test.cmake
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-02-07 17:52:51 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-02-07 20:12:44 +0200
commit47f2b20435cc524e2e300ad4881e198079c536bf (patch)
treea4236cad25ffca9936fa0c832dcc5003d79fabad /cmake/test.cmake
parentf7fef70e9ddb9f52b071703d3ff0683b921606ac (diff)
downloadqtlocation-mapboxgl-47f2b20435cc524e2e300ad4881e198079c536bf.tar.gz
[build] Remove unused files
Buck build is no longer needed, neither is the previous CMake buildsystem.
Diffstat (limited to 'cmake/test.cmake')
-rw-r--r--cmake/test.cmake51
1 files changed, 0 insertions, 51 deletions
diff --git a/cmake/test.cmake b/cmake/test.cmake
deleted file mode 100644
index 405552423c..0000000000
--- a/cmake/test.cmake
+++ /dev/null
@@ -1,51 +0,0 @@
-# scripts/generate-file-lists.js to change the source files for this target.
-load_sources_list(MBGL_TEST_FILES test/test-files.json)
-if (MBGL_TEST_TARGET_TYPE STREQUAL "library")
- add_library(mbgl-test SHARED ${MBGL_TEST_FILES})
-else()
- add_executable(mbgl-test ${MBGL_TEST_FILES})
-endif()
-
-# GCC 8+ trips over GTest's way of defining Test functions
-target_compile_options(mbgl-test PRIVATE -Wno-shadow)
-
-if(NOT WITH_NODEJS)
- target_compile_definitions(mbgl-test PRIVATE "-DTEST_HAS_SERVER=0")
-endif()
-
-set_source_files_properties(test/src/mbgl/test/util.cpp PROPERTIES COMPILE_FLAGS -DNODE_EXECUTABLE="${NodeJS_EXECUTABLE}")
-
-target_include_directories(mbgl-test
- PRIVATE src
- PRIVATE test/include
- PRIVATE test/src
- PRIVATE platform/default/include
-)
-
-target_link_libraries(mbgl-test PRIVATE
- mbgl-vendor-googletest
- Mapbox::Base::Extras::args
- mbgl-core
- mbgl-vendor-shelf-pack-cpp
- mbgl-vendor-unique_resource
- Mapbox::Base::pixelmatch-cpp
-)
-
-mbgl_platform_test()
-
-create_source_groups(mbgl-test)
-
-initialize_xcode_cxx_build_settings(mbgl-test)
-
-set_target_properties(mbgl-test PROPERTIES FOLDER "Executables")
-
-xcode_create_scheme(
- TARGET mbgl-test
- OPTIONAL_ARGS
- "--gtest_filter=Category.*"
- "--gtest_repeat=0"
- "--gtest_shuffle=0"
- "--gtest_break_on_failure=0"
- "--gtest_throw_on_failure=0"
- "--gtest_catch_exceptions=0"
- )