1
0
mirror of https://github.com/FreeRTOS/FreeRTOS-Plus-TCP synced 2025-10-24 03:32:36 +08:00
Files
FreeRTOS-Plus-TCP/test/build-combination
Tony Josi c91e982b5d Fix build warnings and update CI build checks to cover library header files (#1091)
* fix minor docs formatting with FreeRTOS_get_tx_base

* Fix build with C90

* Add snprintf inside printf flags

* Remove unused code

* Move eGetDHCPState

* Fix eGetDHCPState UTs

* Fix UTs related to dead code removal in FreeRTOS_UDP_IPv6.c

* Remove unused variables

* Uncrustify: triggered by comment

* Address review feedback

* Remove stale comment in the cmake file

---------

Co-authored-by: GitHub Action <action@github.com>
2024-02-05 19:19:22 +05:30
..
2023-11-01 12:33:52 +05:30

Build Instructions

This test aims at finding only compilation issues and as a result, the generated binary is not runnable.

UNIX (Linux and Mac)

All the CMake commands are to be run from the root of the repository.

  • Build checks (Enable all functionalities)
cmake -S . -B build -DFREERTOS_PLUS_TCP_TEST_CONFIGURATION=ENABLE_ALL
cmake --build build --target freertos_plus_tcp_build_test
  • Build checks (Disable all functionalities)
cmake -S . -B build -DFREERTOS_PLUS_TCP_TEST_CONFIGURATION=DISABLE_ALL
cmake --build build --target freertos_plus_tcp_build_test
  • Build checks (Default configuration)
cmake -S . -B build -DFREERTOS_PLUS_TCP_TEST_CONFIGURATION=DEFAULT_CONF
cmake --build build --target freertos_plus_tcp_build_test

Windows

All the CMake commands are to be run from the root of the repository.

  • Build checks (Enable all functionalities)
cmake -S . -B build -DFREERTOS_PLUS_TCP_TEST_CONFIGURATION=ENABLE_ALL -DCMAKE_GENERATOR_PLATFORM=Win32

Open the generated Visual Studio Solution file test\build-combination\build\FreeRTOS-Plus-TCP Build Combination.sln in Visual Studio and click Build --> Build Solution.

  • Build checks (Disable all functionalities)
cmake -S . -B build -DFREERTOS_PLUS_TCP_TEST_CONFIGURATION=ENABLE_ALL -DCMAKE_GENERATOR_PLATFORM=Win32

Open the generated Visual Studio Solution file test\build-combination\build\FreeRTOS-Plus-TCP Build Combination.sln in Visual Studio and click Build --> Build Solution.

  • Build checks (Default configuration)
cmake -S . -B build -DFREERTOS_PLUS_TCP_TEST_CONFIGURATION=ENABLE_ALL -DCMAKE_GENERATOR_PLATFORM=Win32

Open the generated Visual Studio Solution file test\build-combination\build\FreeRTOS-Plus-TCP Build Combination.sln in Visual Studio and click Build --> Build Solution.