我不确定如何组织这些项目,因为它们都相互依赖。
现在它全部在以下结构中,这变得难以管理
-trunk
|-bin - compiled common dlls
|-lib - static libs for use with common dlls
|-src - common dll source code
|-include - headers for common dlls
|-common.sln - VS 2008 solutions for common dlls
|-samples
||-res - resources for samples
|||-img
|||-snd
||-c++ - c++ samples for common dlls, tends to double up as tests
|||-various VS 2008 sample solutions
||-py - python versions for some samples
|||-...
|-wrappers
|-python
||-bin - compiled python extension dll
||-src - source for python wrapper
-Apps - actaul programs using common dlls, each with its own dir and solution
|-...
这有很多问题:-1 svn 结构有点乱,例如,我没有真正的方法为一个应用程序创建一个bracnh - 由于使用的文件路径,为任何东西发布版本都是一个巨大的痛苦通过应用程序。例如,python 程序需要知道 python 扩展 dll 在哪里,以及每个公共 dll 在哪里。这些路径在 svn 上与发布时的路径非常不同(它们都可能在一个公共目录中)