There are undocumented switches to the linker that will disassemble an object file:
link /dump /disasm /linenumbers /out:foo.asm foo.obj
Cribbed from an answer on this stackoverflow question
# run this script with sudo | |
# From <https://askubuntu.com/questions/355565/how-do-i-install-the-latest-version-of-cmake-from-the-command-line> | |
apt remove --purge --auto-remove cmake | |
apt update | |
apt install -y software-properties-common lsb-release && \ | |
apt clean all | |
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null | |
apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" | |
apt update | |
apt install kitware-archive-keyring |
{ | |
"version": 6, | |
"cmakeMinimumRequired": { | |
"major": 3, | |
"minor": 23, | |
"patch": 0 | |
}, | |
"configurePresets": [ | |
{ | |
"name": "sibling-build-preset", |
There are undocumented switches to the linker that will disassemble an object file:
link /dump /disasm /linenumbers /out:foo.asm foo.obj
Cribbed from an answer on this stackoverflow question
The file vcpkg-configuration.json
uses an existing vcpkg
as the default registry;
this assumes vcpkg
as a git submodule. The baseline
value is the commit hash of
the vcpkg submodule. Update the hash as needed to reflect the actual version of the vcpkg
registry you've got checked out as a submodule.
Use a directory vcpkg-overlays
to contain the overlay ports;
The GitHub Actions Cache mechanism has been removed from vcpkg, so you can't use x-gha
in VCPKG_BINARY_SOURCES
as a way to re-use built products from one build to the next anymore. I was using x-gha
because the setup was
trivial for all platforms: just set a couple environment variables.
You can use NuGet packages to achieve the same purpose, although the setup is a little more complicated. Here's what I learned while setting this up for the first time for use with GitHub Actions.