Giter Club home page Giter Club logo

cmake-demo's Introduction

Cmake-demo

Simple demo library and demo app to be build with cmake. It will be used to test that library paths are correct when building RPM and/or Debian package... TODO.

Native build

cmake3 required. For Fedora 35:

sudo dnf install cmake make gcc

For CentOS 7:

  • EPEL required
sudo yum install cmake3 cmake3-data make gcc

And build under ~/tmp:

mkdir -p ~/tmp/
./rebuild_cmake_linux.sh

RPM build with Tito

Tested under Fedora 35:

sudo dnf install tito gcc make rpm-build rpmdevtools

To build latest untagged version from git, use:

tito build --rpm --test

To build latest tagged version from git, use:

tito build --rpm

RPMS are created in folder /tmp/tito including /tmp/tito/x86_64.

NOTES

Always validate spec file with:

# for CentOS 7
rpmlint -i cmake-demo.spec
# for Fedora 35
rpmlint -v cmake-demo.spec

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.