2022-10-25 16:15:54 +00:00
|
|
|
# Copyright 2022 Google LLC. All rights reserved.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style
|
|
|
|
# license that can be found in the LICENSE file or at
|
|
|
|
# https://developers.google.com/open-source/licenses/bsd
|
|
|
|
|
|
|
|
add_library(test_data_util STATIC
|
|
|
|
test_data_util.cc)
|
2023-07-17 17:06:10 +00:00
|
|
|
target_compile_definitions(test_data_util
|
|
|
|
PRIVATE
|
|
|
|
# We used to build off of __FILE__, but that is not always an absolute
|
|
|
|
# path, depending on the version of CMake. This is consistent.
|
|
|
|
TEST_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data")
|
2023-07-13 23:36:42 +00:00
|
|
|
target_link_libraries(test_data_util
|
2023-10-13 19:42:47 +00:00
|
|
|
absl::log)
|
2023-07-17 17:06:10 +00:00
|
|
|
|
2023-07-13 23:36:42 +00:00
|
|
|
add_library(test_web_server STATIC
|
|
|
|
test_web_server.cc)
|
|
|
|
target_link_libraries(test_web_server
|
|
|
|
absl::str_format
|
|
|
|
absl::strings
|
|
|
|
mongoose
|
|
|
|
nlohmann_json)
|