Parse compiler options at compile time from %COMPILEFILE

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Parse compiler options at compile time from %COMPILEFILE

Post by Mistrel »

I would like to see more flexibility allowed for pre-compilers by making the IDE parse the compiler options from the end of the source code after tools have finished modifying the %COMPILEFILE.
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

A real pre-compiler has to be tottaly independent from IDE and should be phase which is calling the compiler directly.
Every other way isn't consistent and wise. Thats my opinion.

Best regards

Wolf
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

It would be easier to manage subsystems across multiple Tailbite libraries if I could detect which compiler options have been chosen and switch to the correct subsystem automatically.

Another solution would be to have same-name libraries found within SubSystems\UserLibThreadSafe, UserLibUnicode, and UserLibUnicodeThreadSafe, automatically override those found within PureLibraries\UserLibraries instead of requiring that they be added explicitly as a subsystem.
Post Reply