Skip to content

Commit

Permalink
sarif: allow optional fields
Browse files Browse the repository at this point in the history
  • Loading branch information
frabert committed Jul 25, 2024
1 parent 126be5f commit e2239a5
Show file tree
Hide file tree
Showing 4 changed files with 4,739 additions and 478 deletions.
8 changes: 6 additions & 2 deletions sarif/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ add_headers(sarif GAP_SARIF_HEADERS
definitions.hpp
)

add_gap_library(gap-sarif "${GAP_SARIF_HEADERS}")
target_link_libraries(gap-sarif INTERFACE nlohmann_json::nlohmann_json)
add_sources(sarif GAP_SARIF_SOURCES
definitions.cpp
)

add_gap_static_library(gap-sarif "${GAP_SARIF_HEADERS}" "${GAP_SARIF_SOURCES}")
target_link_libraries(gap-sarif PUBLIC nlohmann_json::nlohmann_json)
Loading

0 comments on commit e2239a5

Please sign in to comment.