Skip to content

Commit 50c6486

Browse files
author
Lucas Marçal
committed
add buckconfig
1 parent 0ba2ffd commit 50c6486

2 files changed

Lines changed: 73 additions & 2 deletions

File tree

.buckconfig

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
[cxx]
2+
default_platform = iphonesimulator-x86_64
3+
cflags = -g -fmodules -fobjc-arc -w $(config custom.other_cflags)
4+
cxxflags = -fobjc-arc -std=c++14 -D DEBUG -g $(config custom.other_cxxflags)
5+
combined_preprocess_and_compile = true
6+
pch_enabled = false
7+
cache_links = false
8+
cache_strips = false
9+
ldflags = -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime $(config custom.other_ldflags) -rpath /usr/lib/swift -L /usr/lib/swift
10+
11+
[swift]
12+
version = 5
13+
compiler_flags = -DBUCK $(config custom.other_swift_compiler_flags) -Xcc -Wno-incomplete-umbrella
14+
use_filelist = true
15+
use_arg_file = true
16+
code_coverage_enabled = true
17+
add_xctest_import_paths = true
18+
project_embed_runtime = false
19+
use_debug_prefix_map = true
20+
stdlib_tool_enabled = false
21+
use_vfsoverlay = true
22+
emit_swiftdocs = true
23+
skip_prebuild_target_sufix = AppLibrary
24+
transform_errors_to_absolute_paths = true
25+
indexing_while_building = true
26+
27+
[apple]
28+
default_debug_info_format_for_libraries = DWARF
29+
default_debug_info_format_for_binaries = DWARF
30+
use_swift_delegate = false
31+
use_header_maps_in_xcode = false
32+
generate_missing_umbrella_headers = true
33+
iphonesimulator_target_sdk_version = 12.2
34+
iphoneos_target_sdk_version = 12.2
35+
provisioning_profile_read_command = security cms -Di
36+
xctool_default_destination_specifier = platform=iOS Simulator,OS=latest,name=iPhone 6
37+
xctool_path = tools/xctool/bin/xctool
38+
xctool_stutter_timeout = 5000
39+
should_link_system_swift = false
40+
embed_xctest_in_test_bundles = false
41+
xcode_build_script = Scripts/build_script.sh
42+
xcode_lldb_remap_script = Scripts/lldb-remap.sh
43+
use_modern_build_system = true
44+
xcode_disable_parallelize_build = true
45+
project_generator_index_via_build_flags = true
46+
enable_project_v2_swift_tests_linking_sdkroot_fix = true
47+
enable_project_v2_swift_indexing_fix = true
48+
49+
[parser]
50+
polyglot_parsing_enabled = true
51+
default_build_file_syntax = SKYLARK
52+
53+
[project]
54+
ide_force_kill = always
55+
project_schemes = true
56+
target_schemes = true
57+
ide = xcode
58+
allow_symlinks = forbid
59+
ignore = tools, \
60+
.git, \
61+
build, \
62+
63+
[build]
64+
threads = 12
65+
allow_empty_globs = false
66+
67+
[custom]
68+
other_swift_compiler_flags = -DDEBUG -Onone -enable-testing -g -Xfrontend -warn-long-expression-type-checking=500 -profile-generate -profile-coverage-mapping
69+
other_cflags = -fprofile-instr-generate -fcoverage-mapping
70+
other_cxxflags = -fprofile-instr-generate -fcoverage-mapping
71+
other_ldflags = -fprofile-instr-generate

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ What you’ll install:
55
- Java 11;
66

77
## First run
8-
Run: make install_lldb_remap
9-
Run: make xcode
8+
- make install_lldb_remap
9+
- make xcode

0 commit comments

Comments
 (0)