1
Using Code::Blocks / Re: Project dependent upon another project?
« Last post by jacksonjame on Today at 10:29:03 am »I did this regularly with MSVS 2005, but have not messed with it in ages. I am building a cross-platform utility that will allow users to backup saves/config/etc from any game whether they are on Windows or Linux. This will consist of two separate projects. Both must build for the complete solution.Creating a cross-platform utility for backing up game data is a fantastic idea, especially for non-tech users. For the build process, consider using CMake as your build system, as it works well with both Windows and Linux and can handle multiple projects. You can set up the master project to call the build commands for the child projects and package them into an installer or tarball.
One is a service that monitors for specified programs to be run and backs up their data when they start (you start game A, it sees this, and backs up whatever the user specified). This is literally a Windows service that has no UI and will be the same under Linux.
The other is a wxWidgets project that will provide a UI to specify games (executables) and what to backup for each game. This simply writes a configuration file that the service reads when it starts or when it restarts. This is crucial for making the project easy enough for non-techs to use.
The master project will build each of the child projects and (if possible) package the outputs of said projects into an installer or tgz for users to install. The master project will not have any actual code to build. It just builds the two child projects and then builds the installer.
How can I accomplish this? Also, would it be possible to somehow tie this entire thing to my stickman hook Github so it lives there and I can allow others access to the code?
As for integrating with GitHub, you can create a repository for your project and push your code there. This will allow others to contribute and access your work easily.
Recent Posts