Thunderbrew:system: Difference between revisions

No edit summary
No edit summary
 
Line 5: Line 5:
  |repository  = [https://github.com/thunderbrewhq/system github.com/thunderbrewhq/system]
  |repository  = [https://github.com/thunderbrewhq/system github.com/thunderbrewhq/system]
}}
}}
system is primarily a CMake directory. It adds macros to all the C++ packages that import it:
== Windows ==
* '''WHOA_SYSTEM_WIN'''
This macro is defined only when Windows/NT code is being compiled.
== macOS ==
* '''WHOA_SYSTEM_MAC'''
This macro is defined only when macOS/Darwin code is being compiled.
== Linux ==
* '''WHOA_SYSTEM_LINUX'''
This macro is defined only when GNU/Linux code is being compiled.