summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/cmakesimple/CMakeLists.txt
blob: c808716558e399452a1f5178bfd0b5fa8f3f0705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

PROJECT(%{APPNAMELC})

#if you don't want the full compiler output, remove the following line
SET(CMAKE_VERBOSE_MAKEFILE ON)

#add definitions, compiler switches, etc.
ADD_DEFINITIONS(-Wall -O2)

#list all source files here
ADD_EXECUTABLE(%{APPNAMELC} main.cpp)

#need to link to some other libraries ? just add them here
#TARGET_LINK_LIBRARIES(%{APPNAMELC} png jpeg)