• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14cmake_minimum_required(VERSION 3.10)
15
16project(quickener)
17
18set(QUICK_SOURCES
19    quick.cpp
20)
21
22panda_add_executable(arkquick ${QUICK_SOURCES})
23
24target_link_libraries(arkquick arkbase arkfile)
25
26add_dependencies(arkquick arkbase arkfile)
27
28panda_add_to_clang_tidy(TARGET arkquick CHECKS
29    # "Inherited" from assembler:
30    "-cert-dcl21-cpp"
31    "-cppcoreguidelines-macro-usage"
32    "-google-runtime-references"
33    "-misc-non-private-member-variables-in-classes"
34    # Component-specific:
35    "-fuchsia-statically-constructed-objects"
36    "-readability-identifier-naming"
37)
38
39panda_add_sanitizers(TARGET arkquick SANITIZERS ${PANDA_SANITIZERS_LIST})
40
41add_check_style(".")
42