ethereum/cable

Name: cable

Owner: ethereum

Description: Cable: CMake Bootstrap Library

Created: 2018-02-26 15:31:32.0

Updated: 2018-05-11 14:57:01.0

Pushed: 2018-05-11 14:57:00.0

Homepage: null

Size: 80

Language: CMake

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Cable

readme style: standard

Cable: CMake Bootstrap Library

Cable is a set of CMake modules and scripts containing common patterns used in CMake-based C++ projects. The design goal is to be pragmatic rather than generic so the number of provided options is minimal. The Cable modules are independent and it is easy to use them individually.

Table of Contents
Install
As git subtree

Adding a dependency project as a git subtree is just a copy of the source code done in a bit more systematic way.

If you are not familiar with managing dependencies with git subtree read the Git subtree: the alternative to Git submodule.

remote add cable https://github.com/ethereum/cable
subtree add --prefix cmake/cable cable master --squash
As git submodule

Include the Cable library as git submodule in your project. The suggested submodule location is cmake/cable relative to your project root directory.

submodule add https://github.com/ethereum/cable cmake/cable
Usage

Cable contains the bootstrap.cmake file that initializes the library. Start by including this file in your main CMakeLists.txt from the Cable submodule/subtree or any other location. The bootstrap.cmake must be included before the project() command. After that, you can include and use other Cable modules.

Example
e_minimum_required(VERSION 3.5)

ude(cmake/cable/bootstrap.cmake)
ude(CableBuildType)

ect(tothemoon)

e_set_build_type(DEFAULT RelWithDebInfo CONFIGURATION_TYPES Debug Release RelWithDebInfo)
Maintainer

Pawe? Bylica @chfast

License

Licensed under the Apache License, Version 2.0.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.