/rusxmms/librcc

To get this branch, use:
bzr branch http://suren.me/webbzr/rusxmms/librcc

« back to all changes in this revision

Viewing changes to src/CMakeLists.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2010-07-16 07:58:26 UTC
  • Revision ID: csa@dside.dyndns.org-20100716075826-4rvnh4iccqrqsdfj
Windows fixes and CMake scripts to build under Windows

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
if (NOT WIN32)
 
2
#    SET(BUILD_SHARED_LIBS ON)
 
3
endif (NOT WIN32)
 
4
 
 
5
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
 
6
 
 
7
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
 
8
 
 
9
SET(HEADERS 
 
10
    librcc.h
 
11
)
 
12
 
 
13
SET(INTERNAL_HEADERS
 
14
    internal.h
 
15
    curconfig.h
 
16
    engine.h
 
17
    fs.h
 
18
    lng.h
 
19
    lngconfig.h
 
20
    lngrecode.h
 
21
    opt.h
 
22
    plugin.h
 
23
    rccconfig.h
 
24
    rccdb4.h
 
25
    rccenca.h
 
26
    rccexternal.h
 
27
    rcchome.h
 
28
    rcciconv.h
 
29
    rcclist.h
 
30
    rcclocale.h
 
31
    rcclock.h
 
32
    rccmutex.h
 
33
    rccspell.h
 
34
    rccstring.h
 
35
    rcctranslate.h
 
36
    rccxml.h
 
37
    recode.h
 
38
)
 
39
 
 
40
SET(rcc_SRCS
 
41
    librcc.c
 
42
    curconfig.c
 
43
    engine.c
 
44
    fs.c
 
45
    lng.c
 
46
    lngconfig.c
 
47
    lngrecode.c
 
48
    opt.c
 
49
    plugin.c
 
50
    rccconfig.c
 
51
    rccdb4.c
 
52
    rccenca.c
 
53
    rccexternal.c
 
54
    rcchome.c
 
55
    rcciconv.c
 
56
    rcclist.c
 
57
    rcclocale.c
 
58
    rcclock.c
 
59
    rccmutex.c
 
60
    rccspell.c
 
61
    rccstring.c
 
62
    rcctranslate.c
 
63
    rccxml.c
 
64
    recode.c
 
65
    ${INTERNAL_HEADERS}
 
66
    ${HEADERS}
 
67
)
 
68
 
 
69
ADD_LIBRARY(rcc ${rcc_SRCS})
 
70
TARGET_LINK_LIBRARIES(rcc ${LIBXML2_LIBRARY} ${ICONV_LIBRARY} ${ENCA_LIBRARY} ${LIBRCD_LIBRARY} ${ZLIB_LIBRARY} ${WSOCK_LIBRARY})