Mercurial > hg > freeDiameter
comparison freediameter/CMakeLists.txt @ 0:13530e1f02e3
Initial files imported
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 28 Aug 2009 19:14:42 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13530e1f02e3 |
---|---|
1 # The subproject name | |
2 Project("freediameterd" C) | |
3 | |
4 SET(PROJECT_VERSION 0.1) | |
5 SET(PROJECT_COPYRIGHT "Copyright (c) 2008-2009, WIDE Project (www.wide.ad.jp) and NICT (www.nict.go.jp)") | |
6 | |
7 # List of source files | |
8 SET(FD_COMMON_SRC | |
9 fd.h | |
10 dict_base_proto.c | |
11 ) | |
12 | |
13 # Building the executable | |
14 ADD_EXECUTABLE(freediameterd ${FD_COMMON_SRC} main.c) | |
15 | |
16 # The link command | |
17 LINK_DIRECTORIES(${CURRENT_BINARY_DIR}/../libfreediameter) | |
18 TARGET_LINK_LIBRARIES(freediameterd libfreediameter ${FD_LIBS}) | |
19 | |
20 # The unary tests directory | |
21 OPTION(SKIP_TESTS "Skip compilation of the tests?" OFF) | |
22 IF ( NOT SKIP_TESTS ) | |
23 SUBDIRS(tests) | |
24 ENDIF ( NOT SKIP_TESTS ) |