Hi,<br>
<br>
I'm trying to port a win32 project to linux/kdevelop3. In the past, I
used a qmake project, with all the .pro files in each source directory.
Now, I want it to be different. I want to keep all build environment
specific files out of the source directories.<br>
Our directory structure is as follows:<br>
<br>
- bin  -> all the binaries that are needed to actually run the applications go in these subdirectories<br>
  - embedded_debug<br>
  - embedded_release<br>
  - win32_debug<br>
  - win32_release<br>
  (- linux_debug)<br>
  (- linux_release)<br>
- buildenv  -> all the build environment specific files go in these subdirectories<br>
  - doxygen<br>
  (- kdevelop3)<br>
  - vs2005<br>
- data  -> models, textures, ...<br>
- deps<br>
  - bin  -> all the dependency progs go in here (moc, uic, ...)<br>
    - win32<br>
    (-linux)<br>
  - include  -> dependency includes (mostly in subdirectories)<br>
  - lib  -> dependency libraries (binaries)<br>
    - embedded_debug<br>
    - ...<br>
    (- linux_debug)<br>
    (- linux_release)<br>
- doc<br>
  - ...<br>
  - api  -> Doxygen generated api documentation<br>
- include  -> I created a script to link the include files in
this directory to the ones in the src directory (for using the created
libraries and easy releasing)<br>
- lib  -> the generated libraries (binaries) go in these subdirectories<br>
  - embedded_debug<br>
  - ...<br>
  (- linux_debug)<br>
  (- linux_release)<br>
- src  -> All the source code (and only the source code) goes into subdirectories here<br>
<br>
<br>
Pfff, not easy to explain the directory structure in ascii text, but I hope you get the picture.<br>
<br>
Now my actually comments/questions:<br>
- I didn't find a supported solution to get the kdevelop-specific files
into the buildenv/kdevelop3 dir, withouth using some files in the src
subdirectories. Without manually editing files that is. I don't have
much experience with kdevelop and/or automake tools, so maybe it is
already possible? I don't think qmake supports this. It would be great
if it did though, cause I don't need all the overhead caused by
automake and friends (only linux x86 has to be supported).<br>
- Kdevelop seems to look for a Doxyfile in the same path as the
.kdevelop project file. It wouldn't be too hard to add an option to
specify the doxygen project file, would it? I'm not familiar with the
kdevelop source code, so I'm just guessing.<br>
- Is there a way to detect if header files are changed inside the
source dir (using kdevelop or the underlying build systems) and run the
script in the include dir? In windows, I do this with a post-build
event. That's OK with me if I have to do that in linux too.<br>
- Should I post bug reports about some of the above questions/remarks? Let me know!<br>
<br>
Any comments and solutions greatly appreciated!<br>
<br>
Greetz,<br>
JeDi<br>