0
|
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 )
|