|
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 GdkAppSample 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 GdkAppSample.xml. When creating your own project by copying the sample application, simply change the file name and all instances of "GdkAppSample" 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.py' in the GdkAppSample folder.
From within Visual Studio you can select any of the following three build targets/configurations: