caLib_util.build

This module provides several variables. Paired with static if's these variables can be used for conditional compilation

Members

Variables

arch
enum string arch;

An enum string representing the target architecture.
possible values:

  • "x86" (32-bit)
  • "x86_64" (64-bit)
  • "ARM" (32-bit)
arch
enum string arch;
Undocumented in source.
arch
enum string arch;
Undocumented in source.
os
enum string os;

An enum string representing the target operating system.
possible values:

  • "Windows"
  • "Linux"
  • "OSX"
os
enum string os;
Undocumented in source.
os
enum string os;
Undocumented in source.

Examples

static if(os == "Windows") {
    //code for windows
}
else {
    //generic code	
}

Meta