Git Product home page Git Product logo

Comments (4)

hello-adam avatar hello-adam commented on June 3, 2024

Haha, well played...

I thought Conan made it easier to build hobbits. I work with high school and college students, and I want them to focus on their C++ and software engineering without needing a complete crash course in Linux DevOps/Build Systems.

That being said, I think there's a couple pretty straightforward ways to support non-Conan builds.

  1. I (or you? or the wonderful internet CMake stranger reading this?) just need to make the CMake do pretty much what you had before by default, but if a CONAN_BUILD (or whatever) flag is set, it will do what I have there now.
  2. We can find some way to use the cmake_find_package Coann generator (I think I tried to start with that and hit some problem)

from hobbits.

KOLANICH avatar KOLANICH commented on June 3, 2024

I have tried your commit.

  1. It builds on Ubuntu 21.04. Thanks.
  2. But it doesn't find the plugins, likely the plugins path is different in the program and the deb, in the deb they are placed into /usr/plugins (where CMAKE_PREFIX is usr), which is clearly violates FHS.
  3. It doesn't package Qt Creator wizards and desktop files.

from hobbits.

hello-adam avatar hello-adam commented on June 3, 2024

Ok, looks like 2 and 3 were caused by some missing CMake chunks that got lost in the refactor, so I added them back in and they should be fine.

The wizards aren't a thing anymore (Qt Creator has pretty bad CMake project wizard support at the moment) - I replaced them with cookiecutters which I will probably move to a separate Git repo so that they can be used without actually needing to (explicitly) clone them (I think the repo URL will just need to be in the cookicutter config.)

from hobbits.

hello-adam avatar hello-adam commented on June 3, 2024

I'm pretty sure the plain CMake builds are fine (one of the CI builds does it). I haven't tested the deb packages, but I think they should be pretty much like they were before the initial conan stuff.

from hobbits.

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.