Predefined constant for compilerdirektives. EXE or DLL
Posted: Wed Jun 06, 2012 5:35 pm
It would be nice, to have a predefined constant to compare, what my code is compiled. To a EXE or DLL file.
thxs
Josh
thxs
Josh
http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
#PB_Compiler_Target : Determines the target type for which the program is compiling. It can be one of the following:
- #PB_Target_Gui : compiling a GUI application
- #PB_Target_Console : compiling a CONSOLE application
- #PB_Target_Library : compiling a LIBRARY ( DLL on Windows )
- #PB_Target_PureLib : compiling a PB LIBRARY (will it ever be possible without TailBite?)