Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

sequoia-cmake

This repository contains the CMake scripts shared among all the Sequoia projects.

Installation

Add <sequoia-cmake>/cmake to the CMAKE_MODULE_PATH to use the functions, macros and modules:

list(APPEND CMAKE_MODULE_PATH "<sequoia-cmake>")

Note that all sequoia projects contain a sequoia_cmake_init macro which tries to find the sequoia-cmake module and respects the SEQUOIA_CMAKE_DIR (environment) variable.

include(SequoiaCMakeInit)
sequoia_cmake_init()

Usage

Each function and macro uses a snake-case identifier and is defined in a spereate file using the corresponding camel-case filename. For example, to use the function sequoia_add_target_clean_all include the file SequoiaAddTargetCleanAll.

include(SequoiaAddTargetCleanAll)
sequoia_add_target_clean_all()

License

This project is licensed under the terms of the MIT license.

You can check out the full license here.