summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-03-17 20:36:31 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-03-21 16:05:15 -0400
commit73321eceb96f263f10857667d7b3726a5098e770 (patch)
tree440d79377c7be7184e8154aa500e7ca6b6372953 /docs
parentfdfb060795a0cca62bc98df97c28160160f4317a (diff)
downloadSMAPI-73321eceb96f263f10857667d7b3726a5098e770.tar.gz
SMAPI-73321eceb96f263f10857667d7b3726a5098e770.tar.bz2
SMAPI-73321eceb96f263f10857667d7b3726a5098e770.zip
split compile flag into separate Windows + XNA flags (#767)
Diffstat (limited to 'docs')
-rw-r--r--docs/technical/smapi.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/technical/smapi.md b/docs/technical/smapi.md
index 223e9c5b..e77d9d82 100644
--- a/docs/technical/smapi.md
+++ b/docs/technical/smapi.md
@@ -56,7 +56,8 @@ SMAPI uses a small number of conditional compilation constants, which you can se
flag | purpose
---- | -------
-`SMAPI_FOR_WINDOWS` | Whether SMAPI is being compiled on Windows for players on Windows. Set automatically in `crossplatform.targets`.
+`SMAPI_FOR_WINDOWS` | Whether SMAPI is being compiled for Windows; if not set, the code assumes Linux/MacOS. Set automatically in `common.targets`.
+`SMAPI_FOR_XNA` | Whether SMAPI is being compiled for XNA Framework; if not set, the code assumes MonoGame. Set automatically in `common.targets` with the same value as `SMAPI_FOR_WINDOWS`.
`HARMONY_2` | Whether to enable experimental Harmony 2.0 support and rewrite existing Harmony 1._x_ mods for compatibility. Note that you need to replace `build/0Harmony.dll` with a Harmony 2.0 build (or switch to a package reference) to use this flag.
## For SMAPI developers