i have an issue with Clion with my Cmake project i'm using googletest but i get the following error "Test Framework Quit unexpectedly" here are sc of my project alongside my Cmakelists.txt

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Google Test

    GoogleTest - Google Testing and Mocking Framework

    cmake_minimum_required(VERSION 3.20) project(Assignement6_DJIKSTRA) set(CMAKE_CXX_STANDARD 14) add_executable(Assignement6_DJIKSTRA Djikstra_main.cpp Network.cpp Network.h) # TODO: Add tests and install targets if needed. include(FetchContent) FetchContent_Declare( googletest URL https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip ) # For Windows: Prevent overriding the parent project's compiler/linker settings set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) FetchContent_MakeAvailable(googletest) enable_testing() add_executable (Djisktra_test test1.cpp Network.cpp ) target_link_libraries( Djisktra_test gtest_main ) include(GoogleTest) gtest_discover_tests(Djisktra_test)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts