Setup development directories - KineticTheory/Linux-HPC-Env GitHub Wiki

Typical directory layout for Draco development on Windows.

  • I usually have 3 types of directories in my development environment (i.e.: work directory):
    • Source code for several projects.
    • Build directories for several flavors and projects.
    • Vendor directories for Third Party libraries required by Draco.

Source code directories

  • I typically create c:\work and place source directories at this location.
  • From a Visual Studio x64 Command Prompt.
cd /d c:\
mkdir work
cd work
  • Create an environment variable so that work_dir=c:\work. This will be used by Visual Studio to keep temp files out of other directories.
  • Checkout Draco to this location
    • You can use TortoiseGit, Git for Windows, or Git-bash-here.
    • This assums that you have forked the Draco repository
    • git clone [email protected]:<github moniker>/Draco.git draco

Build directories

  • I typically create several build directories for build-flavors that I'm interested in:
cd /d c:\work
mkdir vs2017-x64
mkdir vs2017-x86
mkdir vs2017-x64-scalar
...

Vendor directories

  • I usually create separate vendor directories for 32-bit installs and 64-bit installs.
cd /d c:\work
mkdir vendors64
mkdir vendors32

Links