|
Gocator Development Kit
|
The build system utilizes a solution generator, which generates the project files for different build environments within one solution, as well as a per-project build script which compiles your project for all supported architectures.
In the Gdk directory you will find a Gdk.xml file, which contains entries for the GoSdk project, and the two provided sample applications.
The SampleApp project serves as a template for you to create your own projects. When you wish to create your own project, simply copy and rename the GdkSampleApp folder, and add an entry for it in the Gdk.xml solution configuration file, matching the syntax of the existing entries.
Each project folder in turn contains its own project configuration file. For the Sample App, it is GdkSampleApp.xml. When creating your own project by copying the sample application, simply change the file name and all instances of "GdkSampleApp" within the file to reflect your new project name.
You will also probably want to add your own source files. Within the project generator configuration file there is a list of source files, simple add your own in the same format:
To create a Visual Studio solution for your projects and the example projects, simply run 'generate.bat' in the Gdk folder.
From within Visual Studio you can select any of the following three build targets/configurations:
Note: You must build both the C64x and Arm7 targets to update the upgrade packages for both architectures, if you only build one of the targets, the upgrade package will only contain updated binaries for one of the architectures. Alternatively you may run the build.py python script in the SampleApp or your project directory to automatically build for both architectures and update the upgrade packages accordingly.