Giter Club home page Giter Club logo

ecrc_cmake's Introduction

ECRC CMake modules

This project provides a collection of CMake modules that can be shared among projects using CMake as build system.

For now it is mainly constituted of "Find" modules that help detecting installed libraries on the system. These modules are located in

Get ecrc_cmake

To use latest development states of ecrc_cmake, please clone the master branch:

git clone https://github.com/ecrc/ecrc_cmake.git

Documentation

TODO

Installation

To use ECRC modules you have to add the path to the modules in your CMake project and include the EcrcInit module:

# Define where are located module files on your system
set(ECRC_CMAKE_MODULE_PATH "/where/is/ecrc_cmake" CACHE PATH "Path to ecrc_cmake sources")
# Append this directory to the list of directories containing CMake modules
list(APPEND CMAKE_MODULE_PATH "${ECRC_CMAKE_MODULE_PATH}/modules/" )
# Include the init module
include(EcrcInit)
#

We recommend to use this project as a git submodule of your project.

Get involved!

Mailing list

TODO

Contributions

https://github.com/ecrc/ecrc_cmake/blob/master/CONTRIBUTING.md

Authors

The following people contributed to the development of ecrc_modules:

  • Cedric Castagnede
  • Mathieu Faverge, PI
  • Florent Pruvost, PI

If we forgot your name, please let us know that we can fix that mistake.

Licence

https://github.com/ecrc/ecrc_cmake/blob/master/LICENCE.txt

ecrc_cmake's People

Contributors

egonzalf avatar fpruvost avatar kadirakbudak1 avatar ltaiefhatem avatar mahmoudelkarargybs avatar mernamoawad avatar mfaverge avatar rabab53 avatar sabdulah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ecrc_cmake's Issues

Create macro to facilitate find_package and setup libraries

Create a macro or maybe a function in cmake that will concentrate all the statements currently needed to setup a depency of an external library, like BLAS.

Currently the user needs to invoke find_package and then deal with the FOUND/NOT_FOUND conditions. Also, the user needs to set the correct variables for the include paths, library links, etc.

The idea is to try to facilitate all of this, if possible.

Copyright preservation

It has come to my attention that FindPETSc.cmake contains significant portions of code copied without attribution from my cmake-modules repository, which bears a 2-clause BSD license for which:

  • Redistributions of source code must retain the above copyright notice, this
    list of conditions and the following disclaimer.

I'm glad you found this useful, but could you please include a suitable copyright notice in this repository, either in relevant files (at least FindPETSc.cmake) or in the top-level LICENSE?

If this repository contains other code copied with attribution, please add those notices as well.

Cc: @fpruvost

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.