Skip to content

Commit

Permalink
Merge pull request #204 from es-ude/199-update-base-project-and-ball-…
Browse files Browse the repository at this point in the history
…challenge-repo

Enable Base Project Includes
  • Loading branch information
DavidFederl authored Mar 12, 2024
2 parents fc634b1 + 127f044 commit d862d80
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions enV5_init.cmake
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
include(${CMAKE_CURRENT_LIST_DIR}/helpers.cmake)

function(enV5_init_unit_tests)
# enable test execution via CMake
include(CTest)

# include unity as unit-test framework
# include unit-test framework
add_unity()

# add CException for libraries that use it
# include required standard libs for testing
add_cexception()
add_runtime_c()
add_subdirectory(${CMAKE_CURRENT_FUNCTION_LIST_DIR}/src/common)
add_subdirectory(${CMAKE_CURRENT_FUNCTION_LIST_DIR}/src/network/atCommands)
add_subdirectory(${CMAKE_CURRENT_FUNCTION_LIST_DIR}/src/network/config)

# add dummies for unit tests
# include dummies for local machine
add_subdirectory(${CMAKE_CURRENT_FUNCTION_LIST_DIR}/test/unit/dummies)
endfunction()

Expand Down

0 comments on commit d862d80

Please sign in to comment.