Browse Source

List supported build types in top-level CMakeLists.txt

Dirk Ziegelmeier 7 years ago
parent
commit
aaf7f03d95
2 changed files with 4 additions and 0 deletions
  1. 2 0
      CMakeLists.txt
  2. 2 0
      contrib/ports/unix/check/CMakeLists.txt

+ 2 - 0
CMakeLists.txt

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

+ 2 - 0
contrib/ports/unix/check/CMakeLists.txt

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