summaryrefslogtreecommitdiffstats
path: root/Help/envvar/ASM_DIALECTFLAGS.rst
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2017-09-01 15:26:05 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2017-09-26 12:44:45 (GMT)
commite6b77c5f1a918b3b33457eca0590d0ff3840c08f (patch)
treef8261f2ae165273be7006c5dda1153f1e4f2dfb1 /Help/envvar/ASM_DIALECTFLAGS.rst
parent82d9bbf2b713de4db2810c202db26c4b18a22e9c (diff)
downloadCMake-e6b77c5f1a918b3b33457eca0590d0ff3840c08f.zip
CMake-e6b77c5f1a918b3b33457eca0590d0ff3840c08f.tar.gz
CMake-e6b77c5f1a918b3b33457eca0590d0ff3840c08f.tar.bz2
Help: Document CMake's environment variables
Diffstat (limited to 'Help/envvar/ASM_DIALECTFLAGS.rst')
-rw-r--r--Help/envvar/ASM_DIALECTFLAGS.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/envvar/ASM_DIALECTFLAGS.rst b/Help/envvar/ASM_DIALECTFLAGS.rst
new file mode 100644
index 0000000..4ed02fe
--- /dev/null
+++ b/Help/envvar/ASM_DIALECTFLAGS.rst
@@ -0,0 +1,11 @@
+ASM<DIALECT>FLAGS
+-----------------
+
+Default compilation flags to be used when compiling a specific dialect of an
+assembly language. ``ASM<DIALECT>FLAGS`` can be ``ASMFLAGS``, ``ASM_NASMFLAGS``,
+``ASM_MASMFLAGS`` or ``ASM-ATTFLAGS``. Will only be used by CMake on the
+first configuration to determine ``ASM<DIALECT>`` default compilation flags, after
+which the value for ``ASM<DIALECT>FLAGS`` is stored in the cache as
+:variable:`CMAKE_ASM<DIALECT>_FLAGS <CMAKE_<LANG>_FLAGS>`. For any configuration
+run (including the first), the environment variable will be ignored if the
+:variable:`CMAKE_ASM<DIALECT>_FLAGS <CMAKE_<LANG>_FLAGS>` variable is defined.