diff --git a/CMakeLists.txt b/CMakeLists.txt index e2ea6de6628ff16c1951505bb17bd434f8e50282..289deba697329e00ec22969d44d79243641e9702 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,7 @@ set(CMAKE_CXX_FLAGS "${ORIG_CMAKE_CXX_FLAGS}") if(PANDA_WITH_TOOLCHAIN) add_subdirectory(assembler) add_subdirectory(isa) + add_subdirectory(irtoc_scripts) add_subdirectory(es2panda) add_dependencies(panda_bins es2panda) endif() diff --git a/irtoc_scripts/CMakeLists.txt b/irtoc_scripts/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..63cb077db78ad41c0e6faac032f1655c2b622ef5 --- /dev/null +++ b/irtoc_scripts/CMakeLists.txt @@ -0,0 +1,15 @@ +# Copyright (c) 2021-2022 Huawei Device Co., Ltd. +# 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. + +add_irtoc_plugin(${PANDA_ECMASCRIPT_PLUGIN_SOURCE}/irtoc_scripts/interpreter_handlers.irt) +add_irtoc_plugin(${PANDA_ECMASCRIPT_PLUGIN_SOURCE}/irtoc_scripts/interpreter_main_loop.irt)