List supported build types in top-level CMakeLists.txt

This commit is contained in:
Dirk Ziegelmeier 2018-11-26 09:26:37 +01:00
parent 0df4109074
commit aaf7f03d95
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.10) cmake_minimum_required(VERSION 3.10)
set (CMAKE_CONFIGURATION_TYPES "Debug;Release")
project(lwIP) project(lwIP)
# Example lwIP application # Example lwIP application

View File

@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.8) cmake_minimum_required(VERSION 3.8)
set (CMAKE_CONFIGURATION_TYPES "Debug;Release")
project(lwipunittests C) project(lwipunittests C)
if (NOT CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin") if (NOT CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin")