Giter VIP home page Giter VIP logo

cmake-modules's Introduction

This public repository is read-only and no longer maintained.

REUSE status

FEDEM cmake modules

About this project

This project contains a set of general CMake configuration files, used for building the program modules of FEDEM.

Requirements and Setup

This repository is consumed as a submodule by the other FEDEM repositories to facilitate a common build setup for those, and therefore does not require any setup for itself.

The cmake files

Here is the list of .cmake files in the Modules folder and what they do:

  • FedemConfig.cmake contains general compiler flag setup for the builds. Currently, gcc on Linux (Ubuntu) and MS Visual Studio with Intel Fortran on Windows is supported. This file needs to be included in the top-level CMakeLists.txt file of the build project.
  • Date.cmake defines the macro date() for creating time stamp source files that generates the build date in the compiled binaries.
  • GTest.cmake defines the function add_cpp_test() for defining a C++ unit test, if the googletest framework is installed. It uses the environment variable GTEST_ROOT to determine whether the googletest package is available or not.
  • CheckPFUnit.cmake detects if the package pFUnit has been installed for conducting Fortran unit tests. It uses the environment variable PFUNIT to check for valid installations.
  • pFUnit.cmake defines the macro enable_fortran_tests() which adds some compiler flags needed for building the Fortran unit tests with pFUnit, and the function add_fortran_test() which defines a specific Fortran unit test.
  • CodeCoverage.cmake contains some functions for generating code coverage reports using the tools gcov, lcov, and gcovr (on Linux only).

Contributing

This project is open to feature requests, suggestions, bug reports, etc., via GitHub issues. Contributions and feedback are encouraged and always welcome. For more information about how to contribute, see our Contribution Guidelines.

Security / Disclosure

If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.

Code of Conduct

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Copyright 2023 SAP SE or an SAP affiliate company and cmake-modules contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

cmake-modules's People

Contributors

kmoks avatar kmokstad avatar sap-ospo-bot avatar ajinkyapatil8190 avatar misappi avatar ospo-bot[bot] avatar

Watchers

vered constantin avatar  avatar

Forkers

openfedem bihe

cmake-modules's Issues

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.