golxzn / module-template

This is just a golxzn::module template to support modules-cmake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

golxzn module public template

This repository is a template for make your own modules, which is compatible with golxzn/modules-cmake system.

Implementing your module

Actually, you don't really need to change something here. Just add your static libraries using git submodule or just like subdirectories:

git submodule add <your repo with CMakeLists.txt> <your repo name>

Then, you need to change ${GXZN_NAME}_submodules list to add your repo which you have just added:

set(${GXZN_NAME}_submodules
	<your repo name>
)

If you want to fetch you repositories, change GXZN_GIT_URL variable, which is near ${GXZN_NAME}_submodules list:

set(GXZN_GIT_URL https://github.com/<YOUR_USERNAME>)

Notice that your repository has to have special name: <MODULE>-<SUBMODULE>, where <MODULE> is the name of this repository, and <SUBMODULE> is the name of your submodule.

About

This is just a golxzn::module template to support modules-cmake

License:MIT License


Languages

Language:CMake 100.0%