@@ -269,6 +269,22 @@ add_library(
269
269
src/cpp/jank/perf_native.cpp
270
270
)
271
271
272
+ set_property (TARGET jank_lib PROPERTY OUTPUT_NAME jank )
273
+
274
+ target_compile_features (jank_lib PUBLIC ${jank_cxx_standard} )
275
+ target_compile_options (jank_lib PUBLIC ${jank_common_compiler_flags} ${jank_aot_compiler_flags} )
276
+
277
+ # We want all deps built as static libs.
278
+ set (BUILD_SHARED_LIBS OFF )
279
+
280
+ include (FetchContent )
281
+ include (cmake/dependency/fmt.cmake )
282
+ include (cmake/dependency/ftxui.cmake )
283
+ include (cmake/dependency/libzippp.cmake )
284
+
285
+ find_package (OpenSSL REQUIRED COMPONENTS Crypto )
286
+ find_package (BDWgc REQUIRED )
287
+
272
288
target_include_directories (
273
289
jank_lib
274
290
PUBLIC
@@ -278,6 +294,7 @@ target_include_directories(
278
294
jank_lib
279
295
SYSTEM
280
296
PUBLIC
297
+ ${BDWGC_INCLUDE_DIR}
281
298
"$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /third-party/nanobench/include>"
282
299
"$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /third-party/folly>"
283
300
"$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /third-party/bpptree/include>"
@@ -290,22 +307,6 @@ target_include_directories(
290
307
"$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /third-party/boost-preprocessor/include>"
291
308
)
292
309
293
- set_property (TARGET jank_lib PROPERTY OUTPUT_NAME jank )
294
-
295
- target_compile_features (jank_lib PUBLIC ${jank_cxx_standard} )
296
- target_compile_options (jank_lib PUBLIC ${jank_common_compiler_flags} ${jank_aot_compiler_flags} )
297
-
298
- # We want all deps built as static libs.
299
- set (BUILD_SHARED_LIBS OFF )
300
-
301
- include (FetchContent )
302
- include (cmake/dependency/fmt.cmake )
303
- include (cmake/dependency/ftxui.cmake )
304
- include (cmake/dependency/libzippp.cmake )
305
-
306
- find_package (OpenSSL REQUIRED COMPONENTS Crypto )
307
- find_package (BDWgc REQUIRED )
308
-
309
310
target_link_libraries (
310
311
jank_lib PRIVATE
311
312
fmt::fmt
0 commit comments