1 #set (CMAKE_VERBOSE_MAKEFILE true)
2 cmake_minimum_required (VERSION 2.6)
7 CMAKE_BUILD_TYPE = ${CMAKE_BUILD_TYPE}
8 CXXFLAGS = $ENV{CXXFLAGS}
9 CMAKE_CXX_FLAGS = ${CMAKE_CXX_FLAGS}
10 LDFLAGS = $ENV{LDFLAGS}
11 CMAKE_EXE_LINKER_FLAGS = ${CMAKE_EXE_LINKER_FLAGS}
12 CMAKE_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX}
15 include_directories ("include")
17 add_library (gclib2 SHARED modules/Core/String.cxx
18 modules/Core/dexec.cxx
19 modules/Core/dpbuf.cxx
20 modules/Core/earray.cxx
22 modules/Core/djobs.cxx
24 modules/Core/elist.cxx
25 modules/Core/darray.cxx
27 modules/Core/dlist.cxx
28 modules/Core/gc_strings_low.cxx
29 modules/Misc/dsplit.cxx
31 modules/Misc/dheapsort.cxx
34 modules/Misc/Pack/pack.cxx
35 modules/Misc/Pack/unpack.cxx
36 modules/Misc/Pack/unpack_listhash.cxx
37 modules/Misc/Pack/count.cxx
38 modules/Misc/Pack/pack_countList.cxx
39 modules/Misc/Pack/pack_countBList.cxx
40 modules/Misc/Pack/pack_countHash.cxx
41 modules/Misc/Pack/pack_countTree.cxx
42 modules/Misc/split.cxx
43 modules/Misc/gc_strings.cxx
44 modules/Linux/linux_specific.cxx
46 modules/Net/FTP/FTP.cxx
47 modules/Net/HTTP/http.cxx
48 modules/Net/INET/network.cxx
49 modules/Net/INET/dudp.cxx
50 modules/Net/INET/dconnection.cxx
51 modules/Net/INET/url.cxx
52 modules/Net/INET/Poll.cxx
53 modules/Net/DNS/dns.cxx
54 modules/Net/MMP/mmp_engine.cxx
57 modules/Crypt/digests.cxx
58 modules/Crypt/scode.cxx
59 modules/Crypt/base64.cxx )
61 install (TARGETS gclib2 LIBRARY DESTINATION lib)