-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathdefaults.yml
More file actions
61 lines (59 loc) · 2.91 KB
/
Copy pathdefaults.yml
File metadata and controls
61 lines (59 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
# Special thanks to uroboro for suggesting this
# Configurations here should provide enough default variables to create the specified module;
# Please reach out to cynder if you need advice on extending these
Defaults:
dragon_data_dir: .dragon
builddir: $dragon_data_dir/build
objdir: $dragon_data_dir/obj
signdir: $dragon_data_dir/sign
bridging-header: $name-Bridging-Header.h
dragon_root_dir: $$DRAGON_ROOT_DIR
toolchain-prefix: ''
tool-prefix: ''
nopack: false
logos: $dragon_root_dir/src/logos/bin/logos.pl
cargo: cargo
cargo-nightly: 'cargo +nightly'
optool: optool
stage:
- 'true'
wild_recurse: false
warnings: -Wall
optim: "0"
debug: -fcolor-diagnostics
idflag: ''
entflag: '-S'
entfile: ''
resource_dir: 'Resources'
fw_dirs:
- $dragon_root_dir/sdks/iPhoneOS.sdk/System/Library/PrivateFrameworks/
- $dragon_root_dir/frameworks
lib_dirs:
- $dragon_root_dir/lib
- '.'
additional_lib_dirs:
additional_fw_dirs:
prefix: []
cinclude: '-I$dragon_root_dir/include -I$dragon_root_dir/include/_fallback -I$dragon_root_dir/headers/ -I$pwd'
stagedir: '_'
modulesinternal: '-fmodules -fcxx-modules -fmodule-name=$name -fbuild-session-file=$dragon_data_dir/modules/ -fmodules-validate-once-per-build-session -fmodules-prune-after=345600 -fmodules-prune-interval=86400'
# Touching these without a firm grasp of what you're doing is extremely likely to break things
# And assigning to them within a DragonMake will outdate that project *any* time these are updated
# They serve to abstract how we slap together all of the clang args
# Seriously dont touch em.
InternalDefaults:
internaldbgflags: '-DDEBUG'
internalreleaseflags: '-DNDEBUG'
internalcflags: '$cinclude $debug $fwSearch $cflags $btarg -O$optim $sysroot $header_includes $arc $triple $theosshim $macros $prefix $warnings $modulesinternal $internaldbgflags $internalreleaseflags $dbgflags $releaseflags'
internalswiftflags: '-color-diagnostics -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -g -L/usr/lib/swift -swift-version 5 -module-name $name'
internalfflags: '$internalcflags $typeldflags $frameworks $libs $libflags $lopts $libSearch $ldflags'
internalldflags: '$internalcflags $typeldflags $frameworks $libs $libflags $lopts $libSearch $ldflags'
internalsigntarget: '$signdir/$build_target_file.unsigned'
internalsymtarget: '$signdir/$build_target_file.unsym'
pwd: '.'
# Applied on top of both of these.
Rootless:
rootless_prefix: '/var/jb'
rpathflags: '-rpath $rootless_prefix/Library/Frameworks -rpath $rootless_prefix/usr/lib -rpath @loader_path/.jbroot/Library/Frameworks -rpath @loader_path/.jbroot/usr/lib'
internalldflags: '$internalcflags $typeldflags $frameworks $libs $libflags $lopts $libSearch $ldflags $rpathflags'