News for hackers. Stuff that matters.
Re:A Simple Makefile for Medium-Sized C/C++ Projects by Davidbrcz on Friday August 26, 2016 @09:55AM (#12366242)
$ ls src

demo.cxx demo_b.cxx CMakeLists.txt

$ cat src/CMakeLists.txt

cmake_minimum_required (VERSION 2.8.11)

project (HELLO)

add_executable (helloDemo demo.cxx demo_b.cxx)

$ mkdir bin

$ cd bin

$ cmake ../src

SNIP

$ make

$ ./helloDemo

There are no comments on this comment yet.