I would like to have a batch that compiles some .pb sourcefiles to .dll
I have tried the following command in a batch:
Code: Select all
pbcompiler "E:\PB\combine.pb" /EXE "%targetdir%\combine.dll" /DLL /UNICODE
Code: Select all
Error: Line 245 - Constant not found: #PB_Editor_BuildCount.
I do use the "BuildCount" constant in der IDE and I find it very useful, but it seems that I can not use the CLI compiler with #PB_Editor_BuildCount ?
And same is true for "Version info" like File Version etc, I can use them in the IDE but I can not use them with CLI batch compiling?
Using the "/icon" parameter to include an icon does work, so is there something similar for #PB_Editor_BuildCount and the values for "Version info" ?
In the compiler options I see a paramter "/CONSTANT Name=Value: Declare a new constant at compile time"
Can I use this somehow for my purpose?
Heinz