Skip to content

Commit 223cafd

Browse files
committed
data/cwe-names.csv: human-readable names for CWEs
Contributed-by: Steve Grubb
1 parent 98fc448 commit 223cafd

File tree

4 files changed

+484
-0
lines changed

4 files changed

+484
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ add_subdirectory(src)
2424

2525
# regression tests
2626
add_subdirectory(tests)
27+
28+
# data files
29+
add_subdirectory(data)

data/CMakeLists.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright (C) 2020 Red Hat, Inc.
2+
#
3+
# This file is part of csdiff.
4+
#
5+
# csdiff is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# any later version.
9+
#
10+
# csdiff is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
# GNU General Public License for more details.
14+
#
15+
# You should have received a copy of the GNU General Public License
16+
# along with csdiff. If not, see <http://www.gnu.org/licenses/>.
17+
18+
# install /usr/share/csdiff/cwe-names.csv
19+
install(FILES
20+
${CMAKE_CURRENT_SOURCE_DIR}/cwe-names.csv
21+
DESTINATION ${SHARE_INSTALL_PREFIX}/csdiff)

0 commit comments

Comments
 (0)