Use double instead of int, () are working, splitted expressionbase out to own file.
[calcinator.git] / CMakeLists.txt
blobcce022d510b44ac90269730269bce0b943f0bc83
1 PROJECT(MathC)
2 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
4 OPTION(DEBUG    "Debug compile"     OFF)
6 if(DEBUG)
7     SET(CMAKE_C_FLAGS "-g")
8 endif(DEBUG)
10 FILE(GLOB SRCS *.c)
12 add_executable(MathC main.c)
13 add_library(mathc ${SRCS})
14 target_link_libraries(MathC mathc m)