Documentation : ca2

 For Windows

Example on...

 How to create a new project as duplicate of existing project at Windows...

The project we're going to duplicate is app_simple_drawing ( https://github.com/ca2/app-simple/drawing)

Your github account will be called here "constellation".

The Repository Group will be called "starfield_suite".

The project will be called "painting" and it uses app_simple_drawing as template in this example.

Check the prerequisites at Windows, if you haven't done so already.

 Create repositories for "starfield_suite":

Replace "starfield_suite" by desired name for your Repository Group in GitHub.

Below there are 3 (three) online repositories to be created at GitHub:

  • https://github.com/constellation/starfield_suite
  • https://github.com/constellation/starfield_suite-source
  • https://github.com/constellation/starfield_suite-windows-solution

mkdir C:\starfield_suite_for_windows

C:

cd \starfield_suite_for_windows

git clone https://github.com/constellation/starfield_suite-windows-solution .

 For windows development:

C:

cd \starfield_suite_for_windows

git submodule add https://github.com/ca2/windows-operating-system operating-system

 Create source submodule for platform neutral projects:

The source folder will contain files that are platform neutral (or mostly neutral)

C:

cd \starfield_suite_for_windows

git submodule add https://github.com/constellation/starfield_suite-source source

 Add the platform neutral submodules

Add the ca2 platform neutral projects and your "SolutionProjectsUsingCa2"

C:

cd \starfield_suite_for_windows\source

git submodule add https://github.com/ca2/app app

git submodule add https://github.com/ca2/include include

(*Source of "template" project that uses ca2) git submodule add https://github.com/ca2/app-simple app-simple

git submodule add https://github.com/ca2/third third

git submodule add https://github.com/constellation/starfield_suite starfield_suite

 Create folder structure for your painting project

Replace painting by the name of your app project at your Repository Group named here startfield_suite

Copy folder structure from C:\starfield_suite_for_windows\source\app-simple\_matter\drawing to C:\starfield_suite_for_windows\source\constellation\_matter\painting

https://github.com/constellation/startfield_suite/_matter/painting/_std/_std (for language neutral or default resources)

https://github.com/constellation/startfield_suite/_matter/painting/en-us/en-us (for language english resources)

...

Copy folder structure from C:\starfield_suite_for_windows\source\app-simple\drawing to C:\starfield_suite_for_windows\source\constellation\painting

https://github.com/constellation/startfield_suite/painting (for source and project files for painting project)

We recommend putting your Visual Studio solution file in a path like below:

C:\starfield_suite_for_windows\source\starfield_suite\_seed\painting.sln

Remote path: https://github.com/constellation/starfield_suite/_seed/painting.sln

The project root id is expected to be starfield_suite

The project id is expected to be starfield_suite/painting

The executable is expected to be found at C:\starfield_suite_for_windows\time-windows\x64\basis\_shared_startfield_suite_painting.exe