Skip to content

rugtres/vscode-installer-windows

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MinGW's clang toolchain, vscode, cmake on unprivileged Windows.

Installation of the stuff in 'user-land'. No pre-installed software or admin-rights needed.

Download as blob

A pre-configured cpp4bio root folder could be found in our shared folder.
Download cpp4bio_2023.zip, open the zip file and move the contained folder cpp4bio to your Desktop.

Generate the root folder

Local

Download this repository as zip and extract it to, say, your Desktop. Don't extract to an network-share as this would break things.
Open the extracted folder and run (double-click) bootstrap.bat.
After quite some time, File Explorer will open our cpp4bio root folder.

External drive

Download this repository as zip and extract it to, say, your Desktop. Don't extract to an network-share as this would break things.
Open the extracted folder and type powershell + Enter in the File Explorer Address bar to open a terminal. In the terminal, type:

.\bootstrap.bat D:

Replace D: with the drive-letter of your external drive.
Press Enter to start the (lengthy) installation process.
Once the install is done, File Explorer will open our cpp4bio root folder.
To close the terminal, type:

exit

And press Enter.

Tools

Release notes

2023

  • clang-17, llvm, MImode: lldb from the ucrt branch.
  • bootstrap.bat downloads and installs msys2.
    Selects appropriate default install path (%HOMEDRIVE%%HOMEPATH%\Desktop for UWP,
    %HOMEDRIVE%%HOMEPATH%\Desktop for FSE and local Windows).
    No user interaction needed.
    Portable install.
    Creates cpp4bio folder in the installation root (should be portable).
  • bootstrap.bat <DriveLetter> creates portable install on external drive.
  • First project is cpp4bio\projects\hello_world.
  • New projects can be created by simply 'copy & rename' an existing one (as long as under projects\).
  • projects\xyz\.vscode contains a bunch of specialized .json files.
    Automates cmake configure (.vscode\settings.json).
    Empty "args": [] property in .vscode\launch.json.
    (Re)build task in .vscode\tasks.json.
    Much cleaner debugging experience.
  • projects\xyz\CMakeList.txt copes with whitespaces in project folder names.
    main.cpp is the only remaining hard-coded dependency.
    Binaries are build as projects\xyz\build\<FolderName>.exe (whitespaces replaced with '_').
    Static link.
  • Project folders can be copied & renamed. Run the script cleanup.bat in the new folder. before you open it in vscode.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Batchfile 84.7%
  • CMake 12.8%
  • C++ 2.5%