Library

Library

Builds a statically linked library.

Library( alias ) ; (optional) Alias { ; options for compilation .Compiler ; Compiler to use .CompilerOptions ; Options for compiler .CompilerOutputPath ; Path to store intermediate objects .CompilerOutputExtension ; (optional) Specify the file extension for generated objects (default .obj or .o) .CompilerOutputPrefix ; (optional) Specify a prefix for generated objects (default none) ; Options for librarian .Librarian ; Librarian to collect intermediate objects .LibrarianOptions ; Options for librarian .LibrarianOutput ; Output path for lib file .LibrarianAdditionalInputs; (optional) Additional inputs to merge into library ; Specify inputs for compilation .CompilerInputPath ; (optional) Path to find files in .CompilerInputPattern ; (optional) Pattern(s) to use when finding files (default *.cpp) .CompilerInputPathRecurse ; (optional) Recurse into dirs when finding files (default true) .CompilerInputExcludePath ; (optional) Path(s) to exclude from compilation .CompilerInputExcludedFiles;(optional) File(s) to exclude from compilation (partial, root-relative of full path) .CompilerInputFiles ; (optional) Explicit array of files to build .CompilerInputUnity ; (optional) Unity to build (or Unities) ; Custom preprocessor support .Preprocessor ; (optional) Compiler to use for preprocessing .PreprocessorOptions ; (optional) Args to pass to compiler if using custom preprocessor ; Additional compiler options .CompilerForceUsing ; (optional) List of objects to be used with /FU ; (optional) Properties to control precompiled header use .PCHInputFile ; (optional) Precompiled header (.cpp) file to compile .PCHOutputFile ; (optional) Precompiled header compilation output .PCHOptions ; (optional) Options for compiler for precompiled header ; Additional options .PreBuildDependencies ; (optional) Force targets to be built before this library (Rarely needed, ; but useful when a library relies on generated code). }

Build-Time Substitutions