| 1 | From 6f4adcb9716a6c3e9ea4def66adf9062aa017681 Mon Sep 17 00:00:00 2001
|
| 2 | Message-ID: <6f4adcb9716a6c3e9ea4def66adf9062aa017681.1781615313.git.csantosb@disroot.org>
|
| 3 | From: Cayetano Santos <[email protected]>
|
| 4 | Date: Tue, 16 Jun 2026 12:23:04 +0200
|
| 5 | Subject: [PATCH] sdfljdsj
|
| 6 |
|
| 7 | ---
|
| 8 | tests/CMakeLists.txt | 26 +++++++++++++-------------
|
| 9 | 1 file changed, 13 insertions(+), 13 deletions(-)
|
| 10 |
|
| 11 | diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
|
| 12 | index 7d475dd8ecc..b17b0aeb023 100644
|
| 13 | |
| 14 | |
| 15 | @@ -1,29 +1,29 @@
|
| 16 | # project(tests)
|
| 17 |
|
| 18 | # Download and unpack googletest at configure time
|
| 19 | -configure_file(googletest-CMakeLists.txt.in "${CMAKE_BINARY_DIR}/googletest-download/CMakeLists.txt")
|
| 20 | -execute_process(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" .
|
| 21 | - WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/googletest-download")
|
| 22 | -execute_process(COMMAND "${CMAKE_COMMAND}" --build .
|
| 23 | - WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/googletest-download")
|
| 24 | +# configure_file(googletest-CMakeLists.txt.in "${CMAKE_BINARY_DIR}/googletest-download/CMakeLists.txt")
|
| 25 | +# execute_process(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" .
|
| 26 | +# WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/googletest-download")
|
| 27 | +# execute_process(COMMAND "${CMAKE_COMMAND}" --build .
|
| 28 | +# WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/googletest-download")
|
| 29 |
|
| 30 | # Prevent GoogleTest from overriding our compiler/linker options
|
| 31 | # when building with Visual Studio
|
| 32 | -set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
| 33 | +# set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
| 34 |
|
| 35 | # Add googletest directly to our build. This adds
|
| 36 | # the following targets: gtest, gtest_main, gmock
|
| 37 | # and gmock_main
|
| 38 | -add_subdirectory("${CMAKE_BINARY_DIR}/googletest-src"
|
| 39 | - "${CMAKE_BINARY_DIR}/googletest-build")
|
| 40 | +# add_subdirectory("${CMAKE_BINARY_DIR}/googletest-src"
|
| 41 | +# "${CMAKE_BINARY_DIR}/googletest-build")
|
| 42 |
|
| 43 | # The gtest/gmock targets carry header search path
|
| 44 | # dependencies automatically when using CMake 2.8.11 or
|
| 45 | # later. Otherwise we have to add them here ourselves.
|
| 46 | -if(CMAKE_VERSION VERSION_LESS 2.8.11)
|
| 47 | - include_directories("${gtest_SOURCE_DIR}/include"
|
| 48 | - "${gmock_SOURCE_DIR}/include")
|
| 49 | -endif()
|
| 50 | +# if(CMAKE_VERSION VERSION_LESS 2.8.11)
|
| 51 | +# include_directories("${gtest_SOURCE_DIR}/include"
|
| 52 | +# "${gmock_SOURCE_DIR}/include")
|
| 53 | +# endif()
|
| 54 |
|
| 55 | # Now simply link your own targets against gtest, gmock,
|
| 56 | # etc. as appropriate
|
| 57 | @@ -31,4 +31,4 @@ add_subdirectory(test_utils)
|
| 58 | add_subdirectory(core)
|
| 59 | add_subdirectory(netlist)
|
| 60 | add_subdirectory(netlist_parser)
|
| 61 | -add_subdirectory(netlist_writer)
|
| 62 | \ No newline at end of file
|
| 63 | +add_subdirectory(netlist_writer)
|
| 64 | --
|
| 65 | 2.54.0
|
| 66 |
|