CMakefile.txt - AmayaHena/ClassCreator GitHub Wiki

Baisc configuration:

cmake_minimum_required(VERSION 3.0)

project(/*#!ProgramName*/)

set(SRCS
/*#!SrcCMake*/
    )

set(HEADERS
/*#!IncCMake*/
    )

add_executable(/*#!ProgramName*/ ${SRCS} ${HEADERS})
target_include_directories(/*#!ProgramName*/ PUBLIC inc)

As I said for the makefile it's up to you to custom this file.

You have access to the file for the program name, src (.cpp), and inc (.hpp).