xref: /aosp_15_r20/external/swiftshader/tools/cmake_generate_graphviz/CMakeGraphVizOptions.cmake (revision 03ce13f70fcc45d86ee91b7ee4cab1936a95046e)
1*03ce13f7SAndroid Build Coastguard Worker# Copyright 2020 The SwiftShader Authors. All Rights Reserved.
2*03ce13f7SAndroid Build Coastguard Worker#
3*03ce13f7SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License");
4*03ce13f7SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License.
5*03ce13f7SAndroid Build Coastguard Worker# You may obtain a copy of te License at
6*03ce13f7SAndroid Build Coastguard Worker#
7*03ce13f7SAndroid Build Coastguard Worker#    http://www.apache.org/licenses/LICENSE-2.0
8*03ce13f7SAndroid Build Coastguard Worker#
9*03ce13f7SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
10*03ce13f7SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS,
11*03ce13f7SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*03ce13f7SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and
13*03ce13f7SAndroid Build Coastguard Worker# limitations under the License.
14*03ce13f7SAndroid Build Coastguard Worker
15*03ce13f7SAndroid Build Coastguard Worker# This file sets configuration values for CMake's GraphViz generation.
16*03ce13f7SAndroid Build Coastguard Worker# See https://cmake.org/cmake/help/latest/module/CMakeGraphVizOptions.html
17*03ce13f7SAndroid Build Coastguard Worker
18*03ce13f7SAndroid Build Coastguard Worker# Defaults
19*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_EXECUTABLES TRUE)
20*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_STATIC_LIBS TRUE)
21*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_SHARED_LIBS TRUE)
22*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_MODULE_LIBS TRUE)
23*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_INTERFACE_LIBS TRUE)
24*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_OBJECT_LIBS TRUE)
25*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_UNKNOWN_LIBS TRUE)
26*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_CUSTOM_TARGETS TRUE)
27*03ce13f7SAndroid Build Coastguard Worker
28*03ce13f7SAndroid Build Coastguard Worker# Below are non-defaults
29*03ce13f7SAndroid Build Coastguard Worker
30*03ce13f7SAndroid Build Coastguard Worker# Render larger and with a nicer font. Default clips bottom of some characters.
31*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_GRAPH_HEADER "node [ fontsize=16; fontname=Helvetica ];")
32*03ce13f7SAndroid Build Coastguard Worker
33*03ce13f7SAndroid Build Coastguard Worker# Don't show external lib targets
34*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_EXTERNAL_LIBS FALSE)
35*03ce13f7SAndroid Build Coastguard Worker
36*03ce13f7SAndroid Build Coastguard Worker# Don't generate per-target dot files
37*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_GENERATE_PER_TARGET FALSE)
38*03ce13f7SAndroid Build Coastguard Worker
39*03ce13f7SAndroid Build Coastguard Worker# Don't generate per-target depender dot files
40*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_GENERATE_DEPENDERS FALSE)
41*03ce13f7SAndroid Build Coastguard Worker
42*03ce13f7SAndroid Build Coastguard Worker# List of targets to ignore
43*03ce13f7SAndroid Build Coastguard Workerset(GRAPHVIZ_IGNORE_TARGETS
44*03ce13f7SAndroid Build Coastguard Worker    core_tables
45*03ce13f7SAndroid Build Coastguard Worker    enum_string_mapping
46*03ce13f7SAndroid Build Coastguard Worker    extinst_tables
47*03ce13f7SAndroid Build Coastguard Worker    gmock_main
48*03ce13f7SAndroid Build Coastguard Worker    gtest_main
49*03ce13f7SAndroid Build Coastguard Worker    spirv-*
50*03ce13f7SAndroid Build Coastguard Worker    SPIRV-Tools-*
51*03ce13f7SAndroid Build Coastguard Worker    spv-*
52*03ce13f7SAndroid Build Coastguard Worker)
53