A very old newbie!

34 views
Skip to first unread message

mhwe...@gmail.com

unread,
Aug 23, 2017, 10:57:38 AM8/23/17
to cmake4eclipse user mailing list, mar...@mhwelsh.force9.co.uk
I am trying to update an old Autotools programme to Cmake using an Eclipse CDT.
I have stripped out all files except the C/C++ code files. 15 files all in a single folder which I am treating as my project file/folder.

Do I need to generate CMakeLists.txt files and if so do I need one for each file within the project folder?

martin welsh

Martin Weber

unread,
Aug 23, 2017, 1:32:51 PM8/23/17
to cmake4ecl...@googlegroups.com
You will have to create CMakeLists.txt files first. The plugin takes care of
invoking cmake to generate the Buildscripts and then invokes the build tool
(make/ninja/...).

You need one CMakeLists.txt file per directory. Hav a look at some of my
testprojects <https://github.com/15knots/cmake4eclipse/tree/master/
testprojects/>.

Martin

--
Cd wrttn wtht vwls s mch trsr.


Reply all
Reply to author
Forward
0 new messages