]> git.cworth.org Git - apitrace/blob - thirdparty/qjson/CMakeLists.txt
Use skiplist-based FastCallSet within trace::CallSet
[apitrace] / thirdparty / qjson / CMakeLists.txt
1 add_definitions (
2     -DQT_NO_CAST_FROM_ASCII
3     -DQT_NO_CAST_TO_ASCII
4     -DQT_NO_DEBUG_OUTPUT
5 )
6
7 set (QT_DONT_USE_QTGUI TRUE)
8
9 include (${QT_USE_FILE})
10
11 include_directories (${CMAKE_CURRENT_BINARY_DIR})
12
13 set (qjson_MOC_HDRS
14     parserrunnable.h
15     #serializerrunnable.h
16 )
17
18 qt4_wrap_cpp (qjson_MOC_SRCS ${qjson_MOC_HDRS})
19
20 set (qjson_SRCS
21     parser.cpp
22     qobjecthelper.cpp
23     json_scanner.cpp
24     json_parser.cc
25     parserrunnable.cpp
26     #serializer.cpp
27     #serializerrunnable.cpp
28 )
29
30 add_library (qjson_bundled STATIC EXCLUDE_FROM_ALL
31     ${qjson_SRCS}
32     ${qjson_MOC_SRCS}
33 )
34
35 install (
36     FILES COPYING.lib
37     DESTINATION ${DOC_INSTALL_DIR}
38     RENAME LICENSE-qjson.txt
39 )