summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-01-14 22:26:59 +0100
committerAki <please@ignore.pl>2023-01-14 22:26:59 +0100
commitae347a54e2e49acb92c7331aafda923e7eaaee38 (patch)
treefcb7b8aa2ca3b1481209d38afb5fd3d8bd43e72f /README
parent7c6e0e8065cfdf974be1824b9b38d70542a258e7 (diff)
downloadmingw-w64-cmake-toolchains-ae347a54e2e49acb92c7331aafda923e7eaaee38.zip
mingw-w64-cmake-toolchains-ae347a54e2e49acb92c7331aafda923e7eaaee38.tar.gz
mingw-w64-cmake-toolchains-ae347a54e2e49acb92c7331aafda923e7eaaee38.tar.bz2
Added instructions and reasoning
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 13 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..9053b6a
--- /dev/null
+++ b/README
@@ -0,0 +1,13 @@
+To generate the toolchain files, use cmake(1) as per usual:
+
+ $ cmake -B build -Wno-dev .
+
+No building is required. Warnings are ignored, because GNUInstallDirs will complain about all languages being disabled.
+There is also an unconventional install target:
+
+ $ cd build/
+ $ make install
+
+"Unconventional," because there is no usual location to put toolchain files. Additionally, some toolchains distribute
+with their definitions and some not (MinGW for instance; that's why we are here). This is an attempt to have some
+consistency in my environment for my own convenience.