Reputation: 41
I am working on several C++ projects on my local computer. They all use some common libs and headers. The file structure is like this:
-bin
-lib
-include
-devel
-project1
-src
-project2
-src
-doc
I am using Eclipse IDE and i set all the relative paths. It compiles the executables to the bin folder and uses libs/includes within the structure. It works fine.
Now I need to import all the projects into an SVN repository so that different people can access and develop codes.
And i wondering if there is a way to have this structure in the SVN server? So when someone checks out a project, he can just start working on it without organising the libs or headers. He will just check out, and all the relative linking will be done. Can i use CMake for this purpose?
I am using Eclipse with subclipse plugin.
Upvotes: 0
Views: 223
Reputation: 7919
SVN can already maintain such a folder hierarchy. If you used some svn interface like Turtoise SVN, you would just need to right click on a node and select "Add Folder" and it will automatically add all the sub folders and files in them into the repository.
Upvotes: 1