]> git.lyx.org Git - lyx.git/blob - development/cmake/src/support/CMakeLists.txt
6aad4f956a1a92ec6935cf4052b5787be2343e9b
[lyx.git] / development / cmake / src / support / CMakeLists.txt
1 project(support)
2
3 configure_file(package.C.cmake ${CMAKE_CURRENT_BINARY_DIR}/package.C)
4
5 set(support_sources
6         FileMonitor.h
7         FileMonitor.C
8         RandomAccessList.h
9         abort.C
10         chdir.C
11         convert.C
12         convert.h
13         copy.C
14         copied_ptr.h
15         cow_ptr.h
16         debugstream.h
17         environment.h
18         environment.C
19         filefilterlist.C
20         filefilterlist.h
21         filename.C
22         filename.h
23         filetools.C
24         filetools.h
25         forkedcall.C
26         forkedcall.h
27         forkedcallqueue.C
28         forkedcallqueue.h
29         forkedcontr.C
30         forkedcontr.h
31         fs_extras.C
32         fs_extras.h
33         getcwd.C
34         kill.C
35         limited_stack.h
36         lstrings.C
37         lstrings.h
38         lyxalgo.h
39         lyxlib.h
40         lyxmanip.h
41         lyxtime.C
42         lyxtime.h
43         lyxsum.C
44         mkdir.C
45         os.C
46         os.h
47         path.C
48         path.h
49         package.h
50         rename.C
51         socktools.C
52         socktools.h
53         std_istream.h
54         std_ostream.h
55         systemcall.C
56         systemcall.h
57         tempname.C
58         textutils.h
59         translator.h
60         types.h
61         userinfo.C
62         userinfo.h
63         unlink.C
64 )
65
66
67
68 lyx_add_path(support_sources ${TOP_SRC_DIR}/src/support)
69
70 include_directories(${TOP_SRC_DIR}/src/support)
71
72 add_library(support STATIC ${support_sources} ${CMAKE_CURRENT_BINARY_DIR}/package.C)
73
74 target_link_libraries(support boost_signals)
75
76 if(WIN32)
77         target_link_libraries(support shlwapi)
78 endif(WIN32)
79
80
81