java - Linking Sources of two Identical Projects -


hello making game both computer , android devices , wondering if there way link 2 projects type code once , have saved both projects because copying , pasting such hastle...

p.s. code both completly identical.

the simplest method import source code each project.

so, let's have source code @ c:/dev/c/game

you have several import options.

  1. do file->import->c/c++ , select existing code makefile project. browse source folder. repeat similar steps android, java, etc projects.

  2. link source files in project existing files.

    • so, create project normal, file->new->source folder. browse existing source.
    • or can right click project, new->file (or folder), give name (specific current project), click advanced , check link file system (then browse actual file or folder)

all of these should enable cross platform sharing of source code edits in 1 reflected in other project.

if use version control, it's easier. can checkout same source file different projects (or nest same independently version controlled source file different version controlled projects).


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -