Giter VIP home page Giter VIP logo

fltk-build's Introduction

Example FLTK build projects

FLTK: https://www.fltk.org/ https://github.com/fltk/fltk

Each CMakeLists.txt file in this project constitutes a separate project which can be built with FLTK. The single source file in the src/ folder is shared among all build configurations. The resultant "hello world" program shows the FLTK version number.

Currently there are three build directories:

  1. cmake-external-project:

The CMakeLists.txt file in this directory uses the CMake module ExternalProject and the CMake function ExternalProject_Add() to download and build FLTK.

  1. cmake-fetch-content:

The CMakeLists.txt file in this directory uses the CMake module FetchContent and the CMake functions FetchContent_Declare() and FetchContent_MakeAvailable() to download and build FLTK.

  1. cmake-simple:

The CMakeLists.txt file in this directory uses standard CMake functions as described in /README.CMake.txt to build the program. This requires a pre-built FLTK installation.

Note: these CMake build files are intended as working examples to build applications with FLTK - as of the date they were written. Changes are likely and I will try to update the examples when needed.

I will accept GitHub Issue reports and/or PR's only if I think they are useful for a general case. Feel free to try if you have some suggestions.

Future work may include more complicated examples with different FLTK libraries and/or linking shared libraries.

fltk-build's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

ramcdona

fltk-build's Issues

Test Issue

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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.