| # Copyright 2013 The Flutter Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| add_library(examples STATIC |
| "assets.cc" |
| "clock.cc" |
| "example_base.cc" |
| "mesh/mesh_example.cc" |
| "the_impeller/the_impeller_example.cc" |
| "${GENERATED_DIR}/importer/mesh_flatbuffers.h" |
| ) |
| |
| target_link_libraries(examples PRIVATE impeller_core impeller_renderer stb) |
| target_link_libraries(examples PUBLIC example_shader_lib) |
| target_include_directories(examples PUBLIC |
| ${PROJECT_DIR} |
| ${SOURCE_DIR} |
| ${THIRD_PARTY_DIR} |
| ${FLATBUFFERS_INCLUDE_DIR}) |