Chris Jones 1d14fc1ef8 [fish] #fish, add some pip3 related hombrew abbr's add some links for virtualizing macos using qemu/kvm, and add some macos related cmake links 3 anni fa
..
README.md 1d14fc1ef8 [fish] #fish, add some pip3 related hombrew abbr's add some links for virtualizing macos using qemu/kvm, and add some macos related cmake links 3 anni fa

README.md

Working with C++

Contents

Working with CMake

To uninstall remove binaries that have been installed from a CMake process use the install_mainfest.txt generated from running make install along with xargs to remove the binaries that were installed. learn more

cat install_manifest.txt | xargs rm
cat install_manifest.txt | xargs -L1 dirname | xargs rmdir -p

working with cmake / useful links

https://discourse.cmake.org/t/how-to-determine-which-architectures-are-available-apple-m1/2401/12 https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary (apple univeral binaries, amd64 aarch64)

General C++ Commands & Usage

To compile a C++ ie. C plus plus program from a command line interface, ie. CLI

The below command implies that a C++ compiler is installed on the local system.

g++ /path/to/mr-fancy-42.cpp -o /path/to/mr-fancy-42

Working with Objective-C

On macos to list available SDKs available to Xcode

xcodebuild -showsdks

Useful Links

TODOs