repo.or.cz
/
calcinator.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use double instead of int, () are working, splitted expressionbase out to own file.
[calcinator.git]
/
CMakeLists.txt
blob
cce022d510b44ac90269730269bce0b943f0bc83
1
PROJECT(MathC)
2
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
3
4
OPTION(DEBUG "Debug compile" OFF)
5
6
if(DEBUG)
7
SET(CMAKE_C_FLAGS "-g")
8
endif(DEBUG)
9
10
FILE(GLOB SRCS *.c)
11
12
add_executable(MathC main.c)
13
add_library(mathc ${SRCS})
14
target_link_libraries(MathC mathc m)