Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

BOUNTY: bakefile - Output: C::B Project Files

<< < (4/7) > >>

ABX:

--- Quote from: mandrav on September 21, 2005, 06:47:48 pm ---2) I guess you probably missed this tag? (<FileVersion major="1" minor="1"/>)
--- End quote ---

Yes. I missed that. Thanks!


--- Quote from: mandrav on September 21, 2005, 06:47:48 pm ---7) Target names are free text, whatever describes them better. In MSVC terms, an example target could be named "Win32 | Release"
--- End quote ---

That raises the question about handling of different platforms withing one development. Would you prefer to have separate projects for wxWidgets collected as targets of single project of separated projects within common workspace or just separated workspaces. I mean would you prefer:

Workspace: wxWidgets
+ project: wxWidgets
++ target: wxMSW Debug
++ target: wxMSW Release
++ target: wxGTK Debug
++ target: wxGTK Release

or

Workspace: wxWidgets
+ project: wxMSW
++ target: Debug
++ target: Release
+ project: wxGTK
++ target: Debug
++ target: Release

or

Workspace: wxWidgets-wxMSW
+ project: wxMSW
++ target: Debug
++ target: Release
Workspace: wxWidgets-wxGTK
+ project: wxGTK
++ target: Debug
++ target: Release

Note that there is another level of complexity between port name and build type which is multilib/monolithic idea of wxWidgets.

To understand the syntax and concepts better I will start from wxMSW which is my own native platform but I need to think about the future extension according to your needs.


--- Quote from: mandrav on September 21, 2005, 06:47:48 pm ---If you want to have a more in-depth look at the ...
--- End quote ---

Thanks!

ABX

ABX:

--- Quote from: mandrav on September 21, 2005, 03:16:17 pm ---
--- Code: --- <Add directory="\usr\X11R6\lib"/>
</Linker>
<Environment> <!-- environment variables for target -->
<Variable name="GM" value="/home/mandrav/Devel/GameMonkey/gm"/>

--- End code ---

--- End quote ---

Looking at quoted part I'm not sure what is directory separator? \ or / ? BTW: I have 'codeblocks' format quite advanced already.

ABX

mandrav:

--- Quote from: ABX on September 30, 2005, 03:32:34 pm ---
--- Quote from: mandrav on September 21, 2005, 03:16:17 pm ---
--- Code: --- <Add directory="\usr\X11R6\lib"/>
</Linker>
<Environment> <!-- environment variables for target -->
<Variable name="GM" value="/home/mandrav/Devel/GameMonkey/gm"/>

--- End code ---

--- End quote ---

Looking at quoted part I'm not sure what is directory separator? \ or / ?

--- End quote ---

Whichever. Code::Blocks converts it to the system default, on load ;)
[*EDIT*]
It doesn't convert the env. vars contents though because it doesn't know if it's a path or not...
[/*EDIT*]


--- Quote from: ABX on September 30, 2005, 03:32:34 pm ---BTW: I have 'codeblocks' format quite advanced already.

--- End quote ---

That's nice to hear :D

takeshi miya:
Great! :D

ABX:

--- Quote from: mandrav on September 30, 2005, 04:02:11 pm ---
--- Quote from: ABX on September 30, 2005, 03:32:34 pm ---BTW: I have 'codeblocks' format quite advanced already.

--- End quote ---

That's nice to hear :D

--- End quote ---

Question about flags:

bakefile has concept of 4 groups of flags: C flags, CPP flags, C++ flags, linker flags and these flags are specified per project (no possibility now for flags per source). From the example given in this thread I don't see how in <Compiler> I can split C vs. CPP vs. C++. Currently I decided that <Compile><Add option="..."> will serve for CPP flags, while C and C++ will be added into every unit depending on 'compilerVar' value. Also don't see how to add linker flags (no example syntax). Any hint would be appreciated. Thanks in advance.

ABX

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version