Skip to content

FlayaN/CommonLibSSE-NG-cmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

USAGE:

add_simple_commonlibsse_ng_plugin(
  # The plugin's license, empty by default.
  LICENSE <string>

  # The path to the src folder, defaults to src
  SRC_FOLDER <string>

  ... also supports all options that add_commonlibsse_plugin func supports!
)

Customize

Enviroment variables (can also be set using cmake options)

  • CommonLibSSE-NGPath If no extern/CommonLibSSE-NG is found this is used instead
  • OUTPUT_DIRS If set it will copy built result to these folders, use ; as separator

Cmake options

  • COPY_BUILD default ON, will copy build to OUTPUT_DIRS specified above

List of all options that add_commonlibsse_plugin supports for reference

add_commonlibsse_plugin(<target>
    # The plugin's name, defaults to target.
    NAME <string>

    # The plugin's author, empty by default.
    AUTHOR <string>

    # The support email address, empty by default.
    EMAIL <string>

    # The plugin version number, defaults to ${PROJECT_VERSION}.
    VERSION <version number>

    # Indicates the plugin is compatible with all runtimes via address library. This is the default if no
    # other compatibilility mode is specified. Can be used with USE_SIGNATURE_SCANNING but not
    # COMPATIBLE_RUNTIMES.
    USE_ADDRESS_LIBRARY

    # Indicates the plugin is compatible with all runtimes via signature scanning.  Can be used with
    # USE_ADDRESS_LIBRARY but not COMPATIBLE_RUNTIMES.
    USE_SIGNATURE_SCANNING

    # If specificed it will set plugin struct compatibility to ::Dependent otherwise ::Independent
    # default ::Independent
    STRUCT_DEPENDENT

    # List of up to 16 Skyrim versions the plugin is compatible with. Cannot be used with
    # USE_ADDRESS_LIBRARY or USE_SIGNATURE_SCANNING.
    COMPATIBLE_RUNTIMES <version number> [<version number>...]

    # The minimum SKSE version to support; defaults to 0, and recommended by SKSE project to be left
    # 0.
    MINIMUM_SKSE_VERSION <version number>

    # Omit from all targets, same as used with add_library.
    EXCLUDE_FROM_ALL

    # List of the sources to include in the target, as would be the parameters to add_library.
    SOURCES <path> [<path> ...]
)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages