Is it possible to build a simple project without CMake?

I'm just dipping into a bit of C++ without wanting to have to learn a build system. I'm following a course which uses eclipse which I have never got along with and I know PHPStorm well.

Is there a way to build a project in CLion which only has a few files without CMake ? e.g. a simple Windows command line executable?

The course also uses the MinGW compiler in case that is relevant.

3 comments
Comment actions Permalink

I find that I also would like to use CLion without CMake. Everything I am reading uses gnu make and I cannot figure out how to translate those examples into CMake (which I think I ought to be able to do without too  much guessing frankly) . I don't find it a very guessable API and neither is it documented except for people who already understand it of  course and the ideas behind make generally. 

 

I have literally exhausted DDG hits for CMake documentation and, as people are saying online, it's very poor- even the books on it are very bad. 

 

I am just looking for something simpler. If CMake is going to stand in my way of using CLion it may mean I have to look for another IDE because really, whatever it's virtues, it's just too poorly documented.

People are telling me that gnu make is easy to understand and well documented, even if it's expansive, so I would prefer to learn and use that. 

 

My 2 cents. 

1
Comment actions Permalink

Luke,

no, that is not possible for now. CLion project model is based on CMake. When you create a new project in CLIon, the IDE generates CMakeLists.txt for it automatically. If  you try import some non-CMake project to CLion, the IDE generates CMakeLists.txt file for it too.

0
Comment actions Permalink

Is there any plan to support this?

0

Please sign in to leave a comment.