File tree Expand file tree Collapse file tree 5 files changed +16
-12
lines changed
java/com/duy/ccppcompiler/compiler Expand file tree Collapse file tree 5 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ public static class SettingsFragment extends PreferenceFragment {
3232 public void onCreate (@ Nullable Bundle savedInstanceState ) {
3333 super .onCreate (savedInstanceState );
3434 addPreferencesFromResource (R .xml .preferences_compiler );
35- bindPreferenceSummaryToValue (findPreference (getString (R .string .pref_key_c_options )));
36- bindPreferenceSummaryToValue (findPreference (getString (R .string .pref_key_cxx_options )));
35+ bindPreferenceSummaryToValue (findPreference (getString (R .string .pref_option_optimization_level )));
36+ bindPreferenceSummaryToValue (findPreference (getString (R .string .pref_option_language_standard )));
3737 }
3838 }
3939}
Original file line number Diff line number Diff line change 5555 <android .support.design.widget.TextInputLayout
5656 android : layout_width =" match_parent"
5757 android : layout_height =" wrap_content"
58- android : hint =" @string/pref_ld_opts " >
58+ android : hint =" @string/pref_title_ld_opts " >
5959
6060 <android .support.design.widget.TextInputEditText
6161 android : id =" @+id/edit_ld_flags"
Original file line number Diff line number Diff line change 4343
4444 <string-array name =" language_standard_entries" >
4545 <item >""</item >
46- <item >c90 - Support all ISO C90 programs. </item >
47- <item >c99 - ISO C99. </item >
48- <item >c11 - ISO C11, the 2011 revision of the ISO C standard. </item >
49- <item >gnu90 - GNU dialect of ISO C90 (including some C99 features). </item >
50- <item >gnu99 - GNU dialect of ISO C99. </item >
51- <item >gnu11 - GNU dialect of ISO C11. </item >
52- <item >c++11 - The 2011 ISO C++ standard plus amendments. </item >
46+ <item >c90</item >
47+ <item >c99</item >
48+ <item >c11</item >
49+ <item >gnu90</item >
50+ <item >gnu99</item >
51+ <item >gnu11</item >
52+ <item >c++11</item >
5353 <item >gnu++11</item >
54- <item >c++14 - The 2014 ISO C++ standard plus amendments. </item >
54+ <item >c++14</item >
5555 </string-array >
5656
5757 <string-array name =" language_standard_entries_values" >
Original file line number Diff line number Diff line change 3737 <string name =" pref_option_wextra_warning" >pref_option_wextra_warning</string >
3838 <string name =" pref_option_werror" >pref_option_werror</string >
3939 <string name =" build_native_activity" >Build native activity</string >
40- <string name =" pref_ld_opts " >Linker options (LDFLAGS)</string >
40+ <string name =" pref_title_ld_opts " >Linker options (LDFLAGS)</string >
4141 <string name =" title_compiler_options" >Compiler options</string >
4242 <string name =" run_sdl_activity" >Run SDL activity</string >
4343 <string name =" build" >Build</string >
Original file line number Diff line number Diff line change 1111 android : key =" @string/pref_key_cxx_options"
1212 android : summary =" Add the commands when calling the C++ compiler"
1313 android : title =" @string/pref_cxx_opts" />
14+ <EditTextPreference
15+ android : key =" @string/pref_key_linker_options"
16+ android : summary =" Add the commands when calling the linker"
17+ android : title =" @string/pref_title_ld_opts" />
1418 </PreferenceCategory >
1519
1620 <PreferenceCategory android : title =" C setting" >
You can’t perform that action at this time.
0 commit comments