Page 1 of 1
[Implemented] Constant '#PB_Compiler_DLL'
Posted: Mon Jul 16, 2007 12:27 pm
by Leonhard
I need this constant to chech, if the build were a shared-dll or not!
Posted: Mon Jul 16, 2007 5:46 pm
by inc.
PB comes with nice compiler environment constants, ... what about:
#PB_COMPILER_HOME+"compiler\"
There do check for the compilers file output and therefore if the output gots the .dll suffix.
Posted: Mon Jul 16, 2007 6:34 pm
by Trond
If the output is already created it's way to late.
Posted: Tue Jul 17, 2007 8:22 am
by inc.
I did interprete his words as "If the build out of the compilation is a shard dll or not". So to me it seems he wants to check the output?
Posted: Tue Jul 17, 2007 10:48 am
by Fred
Sounds like an acceptable wish to me, as it can do conditional compiling depending of the output mode.
Posted: Tue Jul 17, 2007 11:58 am
by srod
Yes that would be great. At the moment I have to set my own constant and check the presence of that in order to determine whether a shared dll is being created.
This would be very useful indeed.