Git Product home page Git Product logo

flux_cmake_modules_demo's Introduction

Flux CMake starter project

This is a small CMake project to demonstrate the use of the Flux library with C++20 modules.

It uses CMake's FetchContent to automatically download the latest revision of Flux from the main branch on Github.

Note that C++20 modules support in compilers, build systems and the Flux library itself is very new, and you may run into bugs as a result. If you'd rather use "traditional" header files instead, you can find an equivalent starter project in this repository.

Requirements

  • CMake v3.28 or later, using the Ninja or Visual Studio 2022 generators
  • Ninja v1.11 or later (if using the Ninja generator)
  • Clang 16 or later

As of January 2024, Visual Studio 17.8 can compile the Flux module, but any non-trivial usage is very likely to run into compiler bugs. It's strongly recommended to stick to using Flux via header files with MSVC for now.

GCC 13 and below are not supported by CMake for building C++20 modules. The latest development version (which will become GCC 14) is reported to work, but has not been tested with this project.

flux_cmake_modules_demo's People

Contributors

tcbrindle avatar

Watchers

 avatar  avatar

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.