summaryrefslogtreecommitdiff
path: root/Documentation/KIWAY_Build_Symbols_Defined.txt
diff options
context:
space:
mode:
authorsaurabhb172020-02-26 16:14:17 +0530
committerGitHub2020-02-26 16:14:17 +0530
commit003d02608917e7a69d1a98438837e94ccf68352a (patch)
tree1392c90227aeea231c1d86371131e04c40382918 /Documentation/KIWAY_Build_Symbols_Defined.txt
parent886d9cb772e81d2e5262284bc3082664f084337f (diff)
parente255d0622297488c1c52755be670733418c994cf (diff)
downloadKiCad-eSim-003d02608917e7a69d1a98438837e94ccf68352a.tar.gz
KiCad-eSim-003d02608917e7a69d1a98438837e94ccf68352a.tar.bz2
KiCad-eSim-003d02608917e7a69d1a98438837e94ccf68352a.zip
Merge pull request #3 from saurabhb17/master
secondary files
Diffstat (limited to 'Documentation/KIWAY_Build_Symbols_Defined.txt')
-rw-r--r--Documentation/KIWAY_Build_Symbols_Defined.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/KIWAY_Build_Symbols_Defined.txt b/Documentation/KIWAY_Build_Symbols_Defined.txt
new file mode 100644
index 0000000..f10dea9
--- /dev/null
+++ b/Documentation/KIWAY_Build_Symbols_Defined.txt
@@ -0,0 +1,29 @@
+
+KIWAY Build Symbols, Definitions and Intentions
+
+
+COMPILING_DLL:
+
+ This is a signal to import_export.h, and when present, toggles the
+ interpretation of the #defines in that file. Its purpose should not be
+ extended beyond this.
+
+
+USE_KIWAY_DLLS:
+
+ Comes from CMake as a user configuration variable, settable in the Cmake
+ user interface. It decides if KiCad will be built with the *.kiface program
+ modules.
+
+
+BUILD_KIWAY_DLL:
+
+ Comes from CMake, but at the 2nd tier, not the top tier. By 2nd tier,
+ something like pcbnew/CMakeLists.txt, not /CMakeLists.txt is meant. It is
+ not a user configuration variable. Instead, the 2nd tier CMakeLists.txt file
+ looks at the top level USE_KIWAY_DLLS and decides how the object files under
+ the 2nd tier's control will be built. If it decides it wants to march in
+ lockstep with USE_KIWAY_DLLS, then this local CMakeLists.txt file may pass a
+ defined BUILD_KIWAY_DLL (singular) on the compiler command line to the
+ pertinent set of compilation steps under its control.
+