Skip to content

qudix/commonlibf4-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommonLibF4 Plugin Template

This is a basic plugin template using CommonLibF4.

Requirements

  • XMake [2.8.2+]
  • C++23 Compiler (MSVC, Clang?)

Getting Started

git clone --recurse-submodules https://github.com/qudix/commonlibf4-template
cd commonlibf4-template

Build

To build the project, run the following command:

xmake build

Note: This will generate a build/windows/ directory in the project's root directory with the build output.

Build Output (Optional)

If you want to redirect the build output, set one of or both of the following environment variables:

  • Path to a Fallout 4 install folder: XSE_FO4_GAME_PATH

  • Path to a Mod Manager mods folder: XSE_FO4_MODS_PATH

Project Generation (Optional)

If you want to generate a Visual Studio project, run the following command:

xmake project -k vsxmake

Note: This will generate a vsxmakeXXXX/ directory in the project's root directory using the latest version of Visual Studio installed on the system.

Upgrading Packages (Optional)

If you want to upgrade the project's dependencies, run the following commands:

xmake repo --update
xmake require --upgrade

Documentation

Please refer to the Wiki for more advanced topics.