Skip to content

Commit

Permalink
Refactor googletest usage
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-bc committed Nov 20, 2023
1 parent 51b2a84 commit 8245a57
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 50 deletions.
2 changes: 1 addition & 1 deletion Drv/Ip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (BUILD_TESTING)
"${CMAKE_CURRENT_LIST_DIR}/test/ut/SocketTestHelper.cpp")
target_include_directories(PortSelector PUBLIC
"${FPRIME_FRAMEWORK_PATH}/STest"
"${FPRIME_FRAMEWORK_PATH}/gtest/googletest-src/googletest/include"
"${FPRIME_FRAMEWORK_PATH}/googletest/googletest/include"
)
add_dependencies(PortSelector STest Fw_Buffer)
target_link_libraries(PortSelector STest Fw_Buffer)
Expand Down
2 changes: 1 addition & 1 deletion cmake/FPrime.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function(fprime_setup_included_code)
setup_global_targets()
# For BUILD_TESTING builds then set up libraries that support testing
if (BUILD_TESTING AND NOT DEFINED FPRIME_SUB_BUILD_TARGETS)
include("${FPRIME_FRAMEWORK_PATH}/cmake/googletest-download/googletest.cmake")
add_subdirectory("${FPRIME_FRAMEWORK_PATH}/googletest/" "${CMAKE_BINARY_DIR}/F-Prime/googletest")
endif()
if (BUILD_TESTING)
add_subdirectory("${FPRIME_FRAMEWORK_PATH}/STest/" "${CMAKE_BINARY_DIR}/F-Prime/STest")
Expand Down
15 changes: 0 additions & 15 deletions cmake/googletest-download/CMakeLists.txt.in

This file was deleted.

33 changes: 0 additions & 33 deletions cmake/googletest-download/googletest.cmake

This file was deleted.

0 comments on commit 8245a57

Please sign in to comment.