Giter Club home page Giter Club logo

Comments (8)

martinrotter avatar martinrotter commented on July 3, 2024

Hello, you have available project files for Qt Creator and Visual Studio. What would you want more? Cmake-based compilation script? Makefile is clean and purposed mainly for cland users, yes, but incorporating muparserx build process into build process of your own application is very simple.

from muparserx.

rashadkm avatar rashadkm commented on July 3, 2024

Visual Studio is for windows only. remember same can be generated by cmake.
Qt creator is cross platform. But isnt that too much to have qt creator installed for installing muparserx.
I dont want to press the matter on cmake, or autobuild or QtCreator for that matter.

I was stating, it would be easier to maintain and for use some kind of cross platform. Having Qtcreator in muparserx itself stands for my point.

Yes. If I am bundling muparserx, the alright it is fine. But what If I need to package muparserx so that it can used by other using a linux or osx package manager?

I tried to package this for Fedora Linux. For that either I need to patch Makefile or add QtCreator as a dependency.

from muparserx.

martinrotter avatar martinrotter commented on July 3, 2024

*.pro files are parsed by qmake utility, no need to actually have Qt Creator installed. It is hard to maintain 4 build types for this tiny project.

from muparserx.

rashadkm avatar rashadkm commented on July 3, 2024

I understand the pain in maintaining mulitple build types.

For me on fedora,

yum whatprovides /usr/bin/qmake-qt4 says:

1:qt-devel-4.8.5-10.fc20.i686 : Development files for the Qt toolkit
Dépôt   : fedora
Correspondance depuis :
Nom de fichier : /usr/bin/qmake-qt4

So I need to add a dependency of qt-devel for creating linux packages, it will be a problem for package users to use muparserx. For myself, I dont care for that part..

Note, if you add cmake then you probably dont want to maintain, Makefile, visualstudio and maybe QtCreator

So, this enhancement will not be increasing the count and pain of build system supported by muparserx but rather reducing them.

from muparserx.

guruofquality avatar guruofquality commented on July 3, 2024

I will second that. CMake is a worthy replacement for multiple build systems and its served me well for cross platform building and packaging. I have put together a CMakeLists.txt here and tested it on several machines: pothosware@2304371

BTW, muparserx is a fantastic project. great work

from muparserx.

aaronpburke avatar aaronpburke commented on July 3, 2024

+1 for CMake.

from muparserx.

rashadkm avatar rashadkm commented on July 3, 2024

FYI,
@guruofquality had a pull request for adding cmake and eventually closing this issue.
#50

waiting for developers to merge this pull.

from muparserx.

beltoforion avatar beltoforion commented on July 3, 2024

Code merged. I'm closing the issue. For details please see #50.

from muparserx.

Related Issues (20)

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.