Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • Isn't that orthogonal to the idea of cmake? Or do you just want to run cmake regularly while working on a project? Commented Jan 28, 2013 at 9:23
  • 1
    I'm mostly thinking of end users building the project from source, not developers. Commented Jan 28, 2013 at 9:25
  • hm... I think you are locking for CPack. It will build the proper scripts for distribution of your cmake project. Commented Jan 28, 2013 at 9:30
  • Did you consider not using cmake but autotools instead? I find that sources prepared with autotools have a higher probability of building without problems and a higher probability of installing without unwanted side-effects. So, if you're goal is to please users instead of developers, maybe autotools is the way to go. Commented Jan 29, 2013 at 21:41
  • Apparently the question is a bit unclear. The project will use cmake, I just want a (hopefully small) launcher script called configure for people who don't understand what CMakeList.txt is. Also, I find -DCMAKE_INSTALL_PREFIX=/usr a bit obtuse. Commented Jan 30, 2013 at 7:10