File tree Expand file tree Collapse file tree 4 files changed +0
-29
lines changed Expand file tree Collapse file tree 4 files changed +0
-29
lines changed Original file line number Diff line number Diff line change 4
4
#ifndef SWIFT_RUNTIME_CMAKECONFIG_H
5
5
#define SWIFT_RUNTIME_CMAKECONFIG_H
6
6
7
- #cmakedefine01 SWIFT_BNI_OS_BUILD
8
- #cmakedefine01 SWIFT_BNI_XCODE_BUILD
9
-
10
7
#define SWIFT_VERSION_MAJOR "@SwiftCore_VERSION_MAJOR@"
11
8
#define SWIFT_VERSION_MINOR "@SwiftCore_VERSION_MINOR@"
12
9
Original file line number Diff line number Diff line change 1
- # TODO: clean this up so it's less Apple-specific.
2
- # Detect B&I builds.
3
- set (SWIFT_BNI_OS_BUILD FALSE )
4
- set (SWIFT_BNI_XCODE_BUILD FALSE )
5
- if (DEFINED ENV{RC_XBS} )
6
- if ((NOT DEFINED ENV{RC_XCODE} OR NOT "$ENV{RC_XCODE} " ) AND (NOT DEFINED ENV{RC_PLAYGROUNDS} OR NOT "$ENV{RC_PLAYGROUNDS} " ))
7
- set (SWIFT_BNI_OS_BUILD TRUE )
8
- else ()
9
- set (SWIFT_BNI_XCODE_BUILD TRUE )
10
- endif ()
11
- endif ()
12
-
13
1
configure_file ("CMakeConfig.h.in"
14
2
"${PROJECT_BINARY_DIR} /include/swift/Runtime/CMakeConfig.h"
15
3
ESCAPE_QUOTES @ONLY )
Original file line number Diff line number Diff line change 4
4
#ifndef SWIFT_RUNTIME_CMAKECONFIG_H
5
5
#define SWIFT_RUNTIME_CMAKECONFIG_H
6
6
7
- #cmakedefine01 SWIFT_BNI_OS_BUILD
8
- #cmakedefine01 SWIFT_BNI_XCODE_BUILD
9
-
10
7
#define SWIFT_VERSION_MAJOR "@SWIFT_VERSION_MAJOR@"
11
8
#define SWIFT_VERSION_MINOR "@SWIFT_VERSION_MINOR@"
12
9
Original file line number Diff line number Diff line change 1
- # Detect B&I builds.
2
- set (SWIFT_BNI_OS_BUILD FALSE )
3
- set (SWIFT_BNI_XCODE_BUILD FALSE )
4
- if (DEFINED ENV{RC_XBS} )
5
- if ((NOT DEFINED ENV{RC_XCODE} OR NOT "$ENV{RC_XCODE} " ) AND (NOT DEFINED ENV{RC_PLAYGROUNDS} OR NOT "$ENV{RC_PLAYGROUNDS} " ))
6
- set (SWIFT_BNI_OS_BUILD TRUE )
7
- else ()
8
- set (SWIFT_BNI_XCODE_BUILD TRUE )
9
- endif ()
10
- endif ()
11
-
12
1
configure_file (CMakeConfig.h.in ${CMAKE_CURRENT_BINARY_DIR} /CMakeConfig.h
13
2
ESCAPE_QUOTES @ONLY )
14
3
swift_install_in_component (FILES ${CMAKE_CURRENT_BINARY_DIR} /CMakeConfig.h
You can’t perform that action at this time.
0 commit comments