Jump to content

Thunderbrew:system: Difference between revisions

From Thunderbrew
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.

Latest revision as of 22:59, 19 June 2025

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.