diff options
| author | gingerBill <bill@gingerbill.org> | 2019-05-26 15:16:45 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-05-26 15:16:45 +0100 |
| commit | 5697d6df7466ef5f4e676f391c104ef165cadb6b (patch) | |
| tree | 0ea6bf2619a510d97bc5ed19b8fd891740c334e1 /src/build_settings.cpp | |
| parent | 426c1ed6f407bcfd3c98e266075f9e9f2cca711c (diff) | |
-go-to-definitions (OGTD file format)
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 72fff30f8..c8c29f9ea 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -69,6 +69,19 @@ struct TargetMetrics { }; +enum QueryDataSetKind { + QueryDataSet_Invalid, + QueryDataSet_GlobalDefinitions, + QueryDataSet_GoToDefinitions, +}; + +struct QueryDataSetSettings { + QueryDataSetKind kind; + bool ok; + bool compact; +}; + + // This stores the information for the specify architecture of this build struct BuildContext { // Constants @@ -105,12 +118,12 @@ struct BuildContext { bool ignore_unknown_attributes; bool no_bounds_check; bool no_output_files; - bool print_query_data; - bool print_query_data_compact; bool no_crt; bool use_lld; bool vet; + QueryDataSetSettings query_data_set_settings; + gbAffinity affinity; isize thread_count; |