File tree 20 files changed +107
-7
lines changed
20 files changed +107
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ project(Example1
6
6
DESCRIPTION "Mixing C and Assembly"
7
7
VERSION 1.0.0
8
8
LANGUAGES C ASM )
9
-
9
+
10
+ # Fallback option for generators other than `Ninja Multi-Config`
11
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
12
+ set (CMAKE_BUILD_TYPE Debug)
13
+ endif ()
14
+
10
15
# Add the executable for the "mixLanguages" target,
11
16
# specifying its source files
12
17
add_executable (mixLanguages
Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ project(Example1
6
6
DESCRIPTION "Mixing C and Assembly"
7
7
VERSION 1.0.0
8
8
LANGUAGES C ASM )
9
-
9
+
10
+ # Fallback option for generators other than `Ninja Multi-Config`
11
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
12
+ set (CMAKE_BUILD_TYPE Debug)
13
+ endif ()
14
+
10
15
# Add the executable for the "mixLanguages" target,
11
16
# specifying its source files
12
17
add_executable (mixLanguages
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ project(Example1
7
7
VERSION 1.0.0
8
8
LANGUAGES C ASM )
9
9
10
+ # Fallback option for generators other than `Ninja Multi-Config`
11
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
12
+ set (CMAKE_BUILD_TYPE Debug)
13
+ endif ()
14
+
10
15
# Add the executable for the "mixLanguages" target,
11
16
# specifying its source files
12
17
add_executable (mixLanguages
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ project(Example1
6
6
DESCRIPTION "Mixing C and Assembly"
7
7
VERSION 1.0.0
8
8
LANGUAGES C ASM )
9
+
10
+ # Fallback option for generators other than `Ninja Multi-Config`
11
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
12
+ set (CMAKE_BUILD_TYPE Debug)
13
+ endif ()
9
14
10
15
# Add the executable for the "mixLanguages" target,
11
16
# specifying its source files
Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ project(Example1
6
6
DESCRIPTION "Mixing C and Assembly"
7
7
VERSION 1.0.0
8
8
LANGUAGES C ASM )
9
-
9
+
10
+ # Fallback option for generators other than `Ninja Multi-Config`
11
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
12
+ set (CMAKE_BUILD_TYPE Debug)
13
+ endif ()
14
+
10
15
# Add the executable for the "mixLanguages" target,
11
16
# specifying its source files
12
17
add_executable (mixLanguages
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ project(Example1
7
7
VERSION 1.0.0
8
8
LANGUAGES C ASM )
9
9
10
+ # Fallback option for generators other than `Ninja Multi-Config`
11
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
12
+ set (CMAKE_BUILD_TYPE Debug)
13
+ endif ()
14
+
10
15
# Set multiple configuration types for multi-config generators
11
16
set (CMAKE_CONFIGURATION_TYPES "Debug;RelWithDebInfo;Release;MinSizeRel" )
12
17
Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ project(Example1
6
6
DESCRIPTION "Mixing C and Assembly"
7
7
VERSION 1.0.0
8
8
LANGUAGES C ASM )
9
-
9
+
10
+ # Fallback option for generators other than `Ninja Multi-Config`
11
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
12
+ set (CMAKE_BUILD_TYPE Debug)
13
+ endif ()
14
+
10
15
# Add the executable for the "mixLanguages" target,
11
16
# specifying its source files
12
17
add_executable (mixLanguages
Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ project(Example1
6
6
DESCRIPTION "Mixing C and Assembly"
7
7
VERSION 1.0.0
8
8
LANGUAGES C ASM )
9
-
9
+
10
+ # Fallback option for generators other than `Ninja Multi-Config`
11
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
12
+ set (CMAKE_BUILD_TYPE Debug)
13
+ endif ()
14
+
10
15
# Add the executable for the "mixLanguages" target,
11
16
# specifying its source files
12
17
add_executable (mixLanguages
Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ project(Example1
6
6
DESCRIPTION "Mixing C and Assembly"
7
7
VERSION 1.0.0
8
8
LANGUAGES C ASM )
9
-
9
+
10
+ # Fallback option for generators other than `Ninja Multi-Config`
11
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
12
+ set (CMAKE_BUILD_TYPE Debug)
13
+ endif ()
14
+
10
15
# Add the executable for the "mixLanguages" target,
11
16
# specifying its source files
12
17
add_executable (mixLanguages
Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ project(Example1
6
6
DESCRIPTION "Mixing C and Assembly"
7
7
VERSION 1.0.0
8
8
LANGUAGES C ASM )
9
-
9
+
10
+ # Fallback option for generators other than `Ninja Multi-Config`
11
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
12
+ set (CMAKE_BUILD_TYPE Debug)
13
+ endif ()
14
+
10
15
# Add the executable for the "mixLanguages" target,
11
16
# specifying its source files
12
17
add_executable (mixLanguages
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ project (Example2
5
5
VERSION 1.0.0
6
6
LANGUAGES C )
7
7
8
+ # Fallback option for generators other than `Ninja Multi-Config`
9
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
10
+ set (CMAKE_BUILD_TYPE Debug)
11
+ endif ()
12
+
8
13
# Enable CTest
9
14
enable_testing ()
10
15
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ project (Example2
5
5
VERSION 1.0.0
6
6
LANGUAGES C )
7
7
8
+ # Fallback option for generators other than `Ninja Multi-Config`
9
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
10
+ set (CMAKE_BUILD_TYPE Debug)
11
+ endif ()
12
+
8
13
# Enable CTest
9
14
enable_testing ()
10
15
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ project (Example2
5
5
VERSION 1.0.0
6
6
LANGUAGES C )
7
7
8
+ # Fallback option for generators other than `Ninja Multi-Config`
9
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
10
+ set (CMAKE_BUILD_TYPE Debug)
11
+ endif ()
12
+
8
13
# Enable CTest
9
14
enable_testing ()
10
15
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ project (Example2
5
5
VERSION 1.0.0
6
6
LANGUAGES C )
7
7
8
+ # Fallback option for generators other than `Ninja Multi-Config`
9
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
10
+ set (CMAKE_BUILD_TYPE Debug)
11
+ endif ()
12
+
8
13
# Enable CTest
9
14
enable_testing ()
10
15
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ project (Example2
5
5
VERSION 1.0.0
6
6
LANGUAGES C )
7
7
8
+ # Fallback option for generators other than `Ninja Multi-Config`
9
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
10
+ set (CMAKE_BUILD_TYPE Debug)
11
+ endif ()
12
+
8
13
# Enable CTest
9
14
enable_testing ()
10
15
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ project (Example2
5
5
VERSION 1.0.0
6
6
LANGUAGES C )
7
7
8
+ # Fallback option for generators other than `Ninja Multi-Config`
9
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
10
+ set (CMAKE_BUILD_TYPE Debug)
11
+ endif ()
12
+
8
13
# Enable CTest
9
14
enable_testing ()
10
15
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ project (Example2
5
5
VERSION 1.0.0
6
6
LANGUAGES C )
7
7
8
+ # Fallback option for generators other than `Ninja Multi-Config`
9
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
10
+ set (CMAKE_BUILD_TYPE Debug)
11
+ endif ()
12
+
8
13
# Enable CTest
9
14
enable_testing ()
10
15
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ project (Example2
5
5
VERSION 1.0.0
6
6
LANGUAGES C )
7
7
8
+ # Fallback option for generators other than `Ninja Multi-Config`
9
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
10
+ set (CMAKE_BUILD_TYPE Debug)
11
+ endif ()
12
+
8
13
# Enable CTest
9
14
enable_testing ()
10
15
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ project (Example2
5
5
VERSION 1.0.0
6
6
LANGUAGES C )
7
7
8
+ # Fallback option for generators other than `Ninja Multi-Config`
9
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
10
+ set (CMAKE_BUILD_TYPE Debug)
11
+ endif ()
12
+
8
13
# Enable CTest
9
14
enable_testing ()
10
15
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ project (Example2
5
5
VERSION 1.0.0
6
6
LANGUAGES C )
7
7
8
+ # Fallback option for generators other than `Ninja Multi-Config`
9
+ if (NOT DEFINED CMAKE_BUILD_TYPE )
10
+ set (CMAKE_BUILD_TYPE Debug)
11
+ endif ()
12
+
8
13
# Enable CTest
9
14
enable_testing ()
10
15
You can’t perform that action at this time.
0 commit comments