diff --git a/CMakeLists.txt b/CMakeLists.txt index 32b3181..73c1c22 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.20) # Use the fancy version substitution project(cmake-cpputest-template - VERSION 1.0 + VERSION 0.1.0 DESCRIPTION "template for cmake + cpputest" LANGUAGES C CXX ) @@ -52,15 +52,15 @@ if (UNIT_TESTING) pkg_search_module(CPPUTEST REQUIRED cpputest>=3.8) message(STATUS "Found CppUTest version ${CPPUTEST_VERSION}") endif() + + # Diagnostic Messages for Multi-Platform testing. + message(STATUS "CPPUTEST_LIBRARY_DIRS: ${CPPUTEST_LIBRARY_DIRS}") + message(STATUS "CPPUTEST_INCLUDE_DIRS: ${CPPUTEST_INCLUDE_DIRS}" ) + message(STATUS "CPPUTEST_LIBRARIES: ${CPPUTEST_LIBRARIES}" ) + + include_directories(${CPPUTEST_INCLUDE_DIRS}) + link_directories(${CPPUTEST_LIBRARY_DIRS}) - include_directories( - ${CPPUTEST_INCLUDE_DIRS} - ./inc - ./mocks - ) - link_directories(${CPPUTEST_LIBRARIES}) - - add_subdirectory(mocks) add_subdirectory(tests) endif()