From f8f967ccc0b8b498843d6c694427bf111d1f3b9c Mon Sep 17 00:00:00 2001 From: Daniel Adler Date: Wed, 14 Aug 2024 10:19:56 +0200 Subject: [PATCH] test/integration/cmake: single add_obx_schema per target --- test/integration/cmake/projects/cpp-flat/CMakeLists.txt | 8 -------- .../projects/cpp-multiple-schema-dirs/CMakeLists.txt | 7 ------- 2 files changed, 15 deletions(-) diff --git a/test/integration/cmake/projects/cpp-flat/CMakeLists.txt b/test/integration/cmake/projects/cpp-flat/CMakeLists.txt index ef1f0e0..45fcbf4 100644 --- a/test/integration/cmake/projects/cpp-flat/CMakeLists.txt +++ b/test/integration/cmake/projects/cpp-flat/CMakeLists.txt @@ -22,14 +22,6 @@ if (DO_INSOURCE) objectbox-test SCHEMA_FILES task.fbs - INSOURCE - OUTPUT_DIR_HEADERS - include - ) - add_obx_schema( - TARGET - objectbox-test - SCHEMA_FILES monster.fbs INSOURCE OUTPUT_DIR_HEADERS diff --git a/test/integration/cmake/projects/cpp-multiple-schema-dirs/CMakeLists.txt b/test/integration/cmake/projects/cpp-multiple-schema-dirs/CMakeLists.txt index 45b60ea..3bf68d0 100644 --- a/test/integration/cmake/projects/cpp-multiple-schema-dirs/CMakeLists.txt +++ b/test/integration/cmake/projects/cpp-multiple-schema-dirs/CMakeLists.txt @@ -34,13 +34,6 @@ else() objectbox-test SCHEMA_FILES src/schema1/monster.fbs - OUTPUT_DIR_MODEL_JSON - src/model - ) - add_obx_schema( - TARGET - objectbox-test - SCHEMA_FILES src/schema2/task.fbs OUTPUT_DIR_MODEL_JSON src/model