Details |
Last modification |
View Log
Rev |
Author |
Line No. |
Line |
556 |
kaklik |
1 |
PROJECT(sonar)
|
|
|
2 |
|
|
|
3 |
#if you don't want the full compiler output, remove the following line
|
|
|
4 |
SET(CMAKE_VERBOSE_MAKEFILE ON)
|
|
|
5 |
|
|
|
6 |
#add definitions, compiler switches, etc.
|
|
|
7 |
ADD_DEFINITIONS(-Wall -O2)
|
|
|
8 |
|
|
|
9 |
#list all source files here
|
|
|
10 |
ADD_EXECUTABLE(sonar main.c)
|
|
|
11 |
|
|
|
12 |
#need to link to some other libraries ? just add them here
|
|
|
13 |
#TARGET_LINK_LIBRARIES(sonar png jpeg)
|
|
|
14 |
|