Patrix eab3d7c831 Updated dependencies structure:
- Added CMakeLists.txt for each dependency
- Added dependencies/CMakeLists.txt for specifying relation between main lib and it's dependencies
2022-07-07 21:11:24 +02:00
2021-08-28 05:51:44 +02:00
2021-08-28 05:05:26 +02:00
2022-07-07 21:11:24 +02:00
2022-04-24 16:35:38 +02:00

Squirrel module template

Table of contents

Usage requirements

NOTE: Client modules aren't downloaded by default.

In order to use the module, the user have to install:
Microsoft Visual C++ 2015-2019 Redistributable (x86)
This package is essential only for Windows platform.

Build requirements

NOTE: Some of the requirements like IDE or compiler are just recommendation

In order to compile the module, you have to meet some
essential requirements, depending on the target platform.

Windows

  • Visual Studio, 2015+ (recommended 2019 Community Edition)

    Visual Studio Components

    • Windows SDK
    • one of the following toolsets, pick one: v140, v141, v142 (recommended v142)
    • (Optional) CMake Tools for Visual Studio
  • CMake 3.17+

Linux

Build instructions

Windows

Visual Studio with CMake tools

  • open a local folder using Visual Studio
  • build the project

Visual Studio without CMake tools

  • open command line in repo-directory
  • type mkdir build
  • type cd build
  • type cmake ..
  • open visual studio .sln and compile the project
  • alternatively if you want to build from command line instead,
    type cmake --build .

Linux

  • open terminal in repo-directory
  • type mkdir build
  • type cd build
  • type cmake ..
  • type cmake --build .

CMake options

This project has some configurable options.

Cache options

Cache options are stored inside CMakeCache.txt inside generated CMake build folder.
You can set these options, by either manually editing the file, or by using cmake-gui.

  • GAME_PATH this cache option allows you to setup the destination
    where module will be installed. If it's set to some value, it will
    generate an installation step. by default it's set to "" (disabled).

  • SERVER_PATH this cache option allows you to setup the destination
    where module will be installed. If it's set to some value, it will
    generate an installation step. by default it's set to "" (disabled).

  • INSTALL_AFTER_BUILD this cache option allows you to run
    cmake install step after a successfull build. By default it's disabled.

Loading module

Read more here

Description
No description provided
Readme 598 KiB
Languages
Squirrel 54.4%
Python 45.6%