summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-03 14:36:06 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-03 14:40:47 (GMT)
commitc48d2d8480402a75e1509b19c145f004126dda10 (patch)
tree5dde271b6beeb594ed7616460bc298a80523f330 /Help/release
parent9c33ff4dda643f8a93d55f9895e31dce9056134f (diff)
downloadCMake-c48d2d8480402a75e1509b19c145f004126dda10.zip
CMake-c48d2d8480402a75e1509b19c145f004126dda10.tar.gz
CMake-c48d2d8480402a75e1509b19c145f004126dda10.tar.bz2
VS: Place per-source preprocessor definitions after target-wide ones
When the VS 2010+ generators were first implemented in commit 7491f52992 (ENH: first pass at VS 10, can bootstrap CMake, but many tests still fail, 2009-06-25, v2.8.0~546), the per-source preprocessor definitions were placed before target-wide preprocessor definitions for consistency with the behavior of VS 9 2008 and below. However, those generators are not used much anymore. Instead prefer consistency with the order used by the Ninja and Makefile generators.
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/compile-options-order.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/compile-options-order.rst b/Help/release/dev/compile-options-order.rst
new file mode 100644
index 0000000..2e182cd
--- /dev/null
+++ b/Help/release/dev/compile-options-order.rst
@@ -0,0 +1,7 @@
+compile-options-order
+---------------------
+
+* The :ref:`Visual Studio Generators` for VS 2010 and above now place
+ per-source preprocessor definitions after target-wide preprocssor
+ definitions. This makes VS consistent with the :ref:`Ninja Generators`
+ and the :ref:`Makefile Generators`.