merours
merours

Reputation: 4106

How to quickly generate C++ projects arborescence

I would like to generate a project architecture quickly, with a makefile already configured (like a mvn quickstart in Java). For instance, a make quickstart would create me a repository like this :

makefile
main.cpp
src

with the makefile alread configured to compile and link sourcefiles in src with main. I then just have to add libs and directoies in src.

I suppose it's possible to do so wich Qmake or Cmake, but I don't know where to look or what terms to search. Would you guys know how to do so ?

Upvotes: 2

Views: 195

Answers (2)

Erbureth
Erbureth

Reputation: 3423

Use an IDE for that. E.g. KDevelop is able to create basic CMake-based project and help you with the project architecture management.

Upvotes: 3

aaa
aaa

Reputation: 499

check this quick start guide: http://www.ogre3d.org/tikiwiki/tiki-index.php?page=CMake+Quick+Start+Guide

Upvotes: 0

Related Questions