Skip to content

CMakefile.txt

AmayaHena edited this page Nov 14, 2019 · 1 revision

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).

Clone this wiki locally