Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Compiler Plugin: Plan to add compiler for MSys2
stahta01:
How about another check box on the "Global Compiler Setting" "Other Settings" ?
Right above or below the "Enable non-platform compilers".
Tim S.
stahta01:
--- Quote from: stahta01 on October 24, 2016, 01:14:55 am ---How about another check box on the "Global Compiler Setting" "Other Settings" ?
Right above or below the "Enable non-platform compilers".
Tim S.
--- End quote ---
I would like a option to disable auto compiler detection and this sounds like a good place to add this, also.
I will see how hard it is to add this feature(s).
Tim S.
stahta01:
--- Quote from: stahta01 on October 24, 2016, 01:14:55 am ---How about another check box on the "Global Compiler Setting" "Other Settings" ?
Right above or below the "Enable non-platform compilers".
Tim S.
--- End quote ---
I have thought about it and I think the new options should go with the "Enable non-platform compilers"; but, it seems that the location of "Enable non-platform compilers" might be in the wrong place.
Tim S.
stahta01:
Looks like check box needed could be called
Show only Detected or user-defined Compilers.
Problem seems to be that the information is NOT currently saved.
I am thinking adding two bools to the Compiler class.
one is set to true if compiler is detected.
The second set to true if compiler is user-defined.
Tim S.
oBFusCATed:
Why do you want to introduce this complexity instead of just adding a field if the compiler is enabled? You'll have to add such field anyway. And then add the simple dialog where the user can select the needed compilers. And lastly add some logic to show this dialog if C::B detects if the user has old config.
Is the default GCC compiler user-defined using your logic? Will it be removed from everybody's list of compilers if this change is added to C::B?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version