Files
wufan a8ed2b8f93 feat(devtoos): add devtools-integration (#2688)
* feat(devtools): add devtools-integration module

* feat(devtools): add devtools-integration enable_inspector

* feat(devtools): add ios change for devtools-integration

* feat(devtools): add voltron for devtools-integration

* feat(devtools): update ios project name

* feat(devtools): remove unuse files for android

* feat(devtools): move ios-devtools to devtools-integration

* fix(ios): fix conflict
2022-11-24 10:06:14 +00:00

37 lines
1.2 KiB
CMake

#
# Tencent is pleased to support the open source community by making
# Hippy available.
#
# Copyright (C) 2022 THL A29 Limited, a Tencent company.
# All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
cmake_minimum_required(VERSION 3.14)
project("devtools_integration")
get_filename_component(PROJECT_ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../.." REALPATH)
set(CMAKE_CXX_STANDARD 17)
# region library
add_library(${PROJECT_NAME} INTERFACE)
# endregion
# region devtools_integration
add_subdirectory(${PROJECT_ROOT_DIR}/devtools/devtools-integration/native ${CMAKE_CURRENT_BINARY_DIR}/devtools-integration/native)
target_link_libraries(${PROJECT_NAME} INTERFACE devtools_integration_native)
# endregion