瀏覽代碼

List supported build types in top-level CMakeLists.txt

Dirk Ziegelmeier 7 年之前
父節點
當前提交
aaf7f03d95
共有 2 個文件被更改,包括 4 次插入0 次删除
  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")