Navigation


Changeset 8:3e143f047f78 in freeDiameter for freeDiameter/CMakeLists.txt


Ignore:
Timestamp:
Sep 18, 2009, 6:54:07 PM (15 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Backup for the week-end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/CMakeLists.txt

    r2 r8  
    22Project("freeDiameterd" C)
    33
    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)")
     4# Configuration parser
     5BISON_FILE(fdd.y)
     6FLEX_FILE(fdd.l)
     7SET_SOURCE_FILES_PROPERTIES(lex.fdd.c fdd.tab.c PROPERTIES COMPILE_FLAGS "-I ${CMAKE_CURRENT_SOURCE_DIR}")
    68
    79# List of source files
    810SET(FD_COMMON_SRC
    911        fD.h
     12        config.c
     13        extensions.c
    1014        dict_base_proto.c
    1115        )
    1216
     17SET(FD_COMMON_GEN_SRC
     18                lex.fdd.c
     19                fdd.tab.c
     20                fdd.tab.h
     21        )
     22
     23
    1324# Building the executable
    14 ADD_EXECUTABLE(freeDiameterd ${FD_COMMON_SRC} main.c)
     25ADD_EXECUTABLE(freeDiameterd ${FD_COMMON_SRC} ${FD_COMMON_GEN_SRC} main.c)
    1526
    1627# The link command
     
    2031# Save the list of files, if needed
    2132SET(FD_COMMON_SRC ${FD_COMMON_SRC} PARENT_SCOPE)
     33SET(FD_COMMON_GEN_SRC ${FD_COMMON_GEN_SRC} PARENT_SCOPE)
    2234
    2335# The unary tests directory
Note: See TracChangeset for help on using the changeset viewer.