Skip to content

Commit 7b32b2c

Browse files
xlaukoJezurko
authored andcommitted
cmake: Integrate gap.
1 parent 9eb1efa commit 7b32b2c

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

CMakeLists.txt

+14
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,18 @@ if (ENABLE_PDLL_CONVERSIONS)
161161
)
162162
endif()
163163

164+
target_link_libraries(vast_settings
165+
INTERFACE
166+
gap::gap
167+
)
168+
164169
add_library(vast::settings ALIAS vast_settings)
165170

171+
#
172+
# Add external libraries
173+
#
174+
add_subdirectory(external)
175+
166176
#
167177
# VAST libraries
168178
#
@@ -213,6 +223,10 @@ if (VAST_INSTALL)
213223
vast_frontend
214224
vast_frontend_tool
215225

226+
gap
227+
gap-core
228+
gap-settings
229+
216230
MLIRCore
217231
MLIRMeta
218232
MLIRHighLevel

external/CMakeLists.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#
2+
# Copyright (c) 2023, Trail of Bits, Inc.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed in accordance with the terms specified in
6+
# the LICENSE file found in the root directory of this source tree.
7+
#
8+
9+
set(GAP_ENABLE_VCPKG OFF)
10+
set(GAP_ENABLE_TESTING OFF)
11+
add_subdirectory(gap)

0 commit comments

Comments
 (0)