Installation of the stuff in 'user-land'. No pre-installed software or admin-rights needed.
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.
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.
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
.
- Standalone wget.exe.
- Msys2 Software Distribution and Building Platform for Windows.
- Visual Studio Code.
clang-17
,llvm
,MImode: lldb
from theucrt
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.
Createscpp4bio
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 asprojects\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 invscode
.