Commit ec8c72cf authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

Removed QJson for now since it messes up the Windows and MacOS builds.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16105 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 79737aa5
# - Try to find QJSON
# Once done this will define
# QJSON_FOUND - System has Cplex
# QJSON_INCLUDE_DIRS - The Cplex include directories
# QJSON_LIBRARIES - The libraries needed to use Cplex
if (QJSON_INCLUDE_DIR)
# in cache already
set(QJSON_FOUND TRUE)
set(QJSON_INCLUDE_DIRS "${QJSON_INCLUDE_DIR};${QJSON_CONCERT_INCLUDE_DIR}" )
set(QJSON_LIBRARIES "${QJSON_LIBRARY};${QJSON_ILO_LIBRARY};${QJSON_CONCERT_LIBRARY}" )
else (QJSON_INCLUDE_DIR)
find_path(QJSON_INCLUDE_DIR
NAMES QJson/Serializer QJson/Parser
PATHS
"${CMAKE_SOURCE_DIR}/libs_required/qjson/include"
"/usr/local/include"
"/usr/include"
)
if (QJSON_INCLUDE_DIR STREQUAL "${CMAKE_SOURCE_DIR}/libs_required/qjson/include")
set(QJSON_LIBRARY "qjson" CACHE FILEPATH "Path to QJson library")
else()
find_library( QJSON_LIBRARY
qjson
PATHS
"/usr/local/lib"
"/usr/lib"
)
endif()
set(QJSON_INCLUDE_DIRS "${QJSON_INCLUDE_DIR}" )
set(QJSON_LIBRARIES "${QJSON_LIBRARY}" )
include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set LIBQJSON_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args(QJSON DEFAULT_MSG
QJSON_LIBRARY QJSON_INCLUDE_DIR)
mark_as_advanced(QJSON_INCLUDE_DIR QJSON_LIBRARY)
endif(QJSON_INCLUDE_DIR)
PROJECT(qjson)
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII" )
# Stop cmake 2.6 from whining
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
CMAKE_POLICY(SET CMP0003 NEW)
set(CMAKE_INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
# compile in debug mode
IF(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel.")
ENDIF(NOT CMAKE_BUILD_TYPE)
IF("${CMAKE_BUILD_TYPE}" MATCHES "^Rel.*")
ADD_DEFINITIONS("-DQT_NO_DEBUG_OUTPUT")
ENDIF("${CMAKE_BUILD_TYPE}" MATCHES "^Rel.*")
# Ability to disable verbose debug output
IF(QJSON_VERBOSE_DEBUG_OUTPUT)
ADD_DEFINITIONS("-DQJSON_VERBOSE_DEBUG_OUTPUT")
endif(QJSON_VERBOSE_DEBUG_OUTPUT)
OPTION(OSX_FRAMEWORK "Build a Mac OS X Framework")
SET(FRAMEWORK_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/Library/Frameworks"
CACHE PATH "Where to place qjson.framework if OSX_FRAMEWORK is selected")
# Don't use absolute path in qjson-targets-*.cmake
# (This will have no effect with CMake < 2.8)
SET(QT_USE_IMPORTED_TARGETS TRUE)
# Find Qt4
FIND_PACKAGE( Qt4 REQUIRED )
IF (NOT WIN32)
SET( QT_DONT_USE_QTGUI TRUE )
ENDIF()
# Include the cmake file needed to use qt4
INCLUDE( ${QT_USE_FILE} )
#add extra search paths for libraries and includes
SET (LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Directory where lib will install")
SET (INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "The directory the headers are installed in")
SET (CMAKECONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/cmake/${CMAKE_PROJECT_NAME}" CACHE PATH "Directory where to install QJSONConfig.cmake")
set(QJSON_LIB_MAJOR_VERSION "0")
set(QJSON_LIB_MINOR_VERSION "8")
set(QJSON_LIB_PATCH_VERSION "1")
set(QJSON_LIB_VERSION_STRING "${QJSON_LIB_MAJOR_VERSION}.${QJSON_LIB_MINOR_VERSION}.${QJSON_LIB_PATCH_VERSION}")
#set(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}/lib" )
# pkg-config
#IF (NOT WIN32)
# CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR}/QJson.pc.in
# ${CMAKE_CURRENT_BINARY_DIR}/QJson.pc
# @ONLY)
# INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/QJson.pc
# DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
#ENDIF (NOT WIN32)
# Subdirs
ADD_SUBDIRECTORY(src)
IF (KDE4_BUILD_TESTS OR QJSON_BUILD_TESTS)
enable_testing()
ADD_SUBDIRECTORY(tests)
ENDIF (KDE4_BUILD_TESTS OR QJSON_BUILD_TESTS)
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
#INSTALL(EXPORT qjson-export DESTINATION ${CMAKECONFIG_INSTALL_DIR} FILE QJSONTargets.cmake)
# figure out the relative path from the installed Config.cmake file to the install prefix (which may be at
# runtime different from the chosen CMAKE_INSTALL_PREFIX if under Windows the package was installed anywhere)
# This relative path will be configured into the QJSONConfig.cmake
file(RELATIVE_PATH relInstallDir ${CMAKE_INSTALL_PREFIX}/${CMAKECONFIG_INSTALL_DIR} ${CMAKE_INSTALL_PREFIX} )
# cmake-modules
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/QJSONConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/QJSONConfig.cmake
@ONLY)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/QJSONConfigVersion.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/QJSONConfigVersion.cmake
@ONLY)
#INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/QJSONConfig.cmake
# ${CMAKE_CURRENT_BINARY_DIR}/QJSONConfigVersion.cmake
# DESTINATION "${CMAKECONFIG_INSTALL_DIR}")
ADD_CUSTOM_TARGET(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
This diff is collapsed.
Tue Nov 27 11:04:12 CET 2012 Flavio Castelli <flavio@castelli.name>
* Relase 0.8.1:
- ensure API and ABI compatibility with 0.7.1
Thu Nov 22 21:20:11 CET 2012 Flavio Castelli <flavio@castelli.name>
* Fix unsafe pointer usage in Serializer::serialize()
----------------------------------------------------------------------
Wed Nov 21 22:01:51 CET 2012 Flavio Castelli <flavio@castelli.name>
* Version 0.8.0 released
Tue Nov 20 11:19:49 CET 2012 Flavio Castelli <flavio@castelli.name>
* Serializer: handle QVariantHash
Tue Oct 30 15:50:10 CET 2012 Flavio Castelli <flavio@castelli.name>
* Improve error handling inside of Serializer
* Serializer: handle quint16.
Tue Jan 31 10:15:06 CET 2012 Flavio Castelli <flavio@castelli.name>
* Make possible to build qjson as an OS X framework.
Fri Nov 04 16:50:56 CET 2011 Flavio Castelli <flavio@castelli.name>
* Make possible to set double precision during serialization.
Wed Aug 24 17:58:56 CEST 2011 Flavio Castelli <flavio@castelli.name>
* Buildsystem adjustments, fix issues mentioned here:
- http://lists.kde.org/?l=kde-buildsystem&m=130947194605100&w=3
- http://lists.kde.org/?l=kde-buildsystem&m=128835747626464&w=3
The biggest difference now is that FindQJSON.cmake is not provided
anymore. Instead, QJSONConfig.cmake and QJSONConfigVersion.cmake are
installed and can be used in find_package(QJSON) calls. Applications
using QJson can write their own FindQJSON.cmake files if they need to.
Fri Apr 23:04:29 CEST 2011 Flavio Castelli <flavio@castelli.name>
* Fixed QVariant de-serialization. QVariant properties were ignored
during QVariant -> QObject conversion.
Sun Dec 18:59:28 CET 2010 Flavio Castelli <flavio@castelli.name>
* It's now possible to indent the output produced by the Serializer.
Mon Sep 06 18:53:02 CEST 2010 Flavio Castelli <flavio@castelli.name>
* 50% performance improvement when parsing numbers.
Sun Jul 04 15:41:08 CEST 2010 Flavio Castelli <flavio@castelli.name>
* fix make install when not installing as root
* provide "make uninstall"
Tue Jun 15 13:16:57 CEST 2010 Flavio Castelli <flavio@castelli.name>
* Allow top level values
----------------------------------------------------------------------
Sat Mar 13 23:57:00 CEST 2009 - flavio@castelli.name
* Merged the symbian branch into master,
----------------------------------------------------------------------
Sun Oct 11 19:18:00 CEST 2009 - flavio@castelli.name
* Updated to 0.6.3: fixed a bug affecting ulonglong numbers serialization.
-------------------------------------------------------------------
Wed Sep 15 19:21:00 CEST 2009 - flavio@castelli.name
* Updated to 0.6.2: fixed a bug affecting ulonglong numbers parsing.
-------------------------------------------------------------------
Wed Sep 09 09:55:00 CEST 2009 - flavio@castelli.name
* Updated to 0.6.1: relevant bugs fixed.
* Moved the SerializerRunnable class inside QJson namespace.
* Fixed a bug in cmdline_tester.
-------------------------------------------------------------------
Mon Jul 20 15:24:32 CEST 2009 - prusnak@suse.cz
* Updated to 0.6.0 (KDE SVN rev 999750).
-------------------------------------------------------------------
Mon Apr 07 00:00:00 UTC 2009 - flavio@castelli.name
* Released 0.5.1 - added unicode support.
-------------------------------------------------------------------
Mon Apr 03 00:00:00 UTC 2009 - flavio@castelli.name
* First release.
GET_FILENAME_COMPONENT(myDir ${CMAKE_CURRENT_LIST_FILE} PATH)
SET(QJSON_LIBRARIES qjson)
SET(QJSON_INCLUDE_DIR "@INCLUDE_INSTALL_DIR@")
include(${myDir}/QJSONTargets.cmake)
SET(PACKAGE_VERSION "@QJSON_LIB_VERSION_STRING@")
IF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
SET(PACKAGE_VERSION_EXACT TRUE)
ENDIF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
IF (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
SET(PACKAGE_VERSION_COMPATIBLE TRUE)
ELSE (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
SET(PACKAGE_VERSION_UNSUITABLE TRUE)
ENDIF (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=@LIB_INSTALL_DIR@
includedir=@INCLUDE_INSTALL_DIR@
Name: QJson
Description: QJson is a qt-based library that maps JSON data to QVariant objects
Version: @QJSON_LIB_MAJOR_VERSION@.@QJSON_LIB_MINOR_VERSION@.@QJSON_LIB_PATCH_VERSION@
Requires: QtCore
Libs: -L${libdir} -lqjson
Cflags: -I${includedir}
\ No newline at end of file
Qjson version xxxx, Date
The following files are licensed under LGPL V2.1:
------------------------------------------------
src/json_parser.yy
src/json_scanner.cpp
src/json_scanner.h
src/parser.cpp
src/parser.h
src/parser_p.h
src/parserrunnable.cpp
src/parserrunnable.h
src/qjson_debug.h
src/qjson_export.h
src/qobjecthelper.cpp
src/serializer.cpp
src/qobjecthelper.h
src/serializer.h
src/serializerrunnable.cpp
src/serializerrunnable.h
tests/cmdline_tester/cmdline_tester.cpp
tests/cmdline_tester/cmdlineparser.cpp
tests/cmdline_tester/cmdlineparser.h
tests/parser/testparser.cpp
tests/qobjecthelper/person.h
tests/qobjecthelper/testqobjecthelper.cpp
tests/serializer/testserializer.cpp
The following files are licensed under GPL V2 with Bison Exception:
--------------------------------------------------------------------
/src/json_parser.cc
/src/stack.hh
/src/location.hh
/src/position.hh
/src/json_parser.hh
Copyrights:
----------
Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
Copyright (C) 2009 Flavio Castelli <flavio@castelli.name> 2009 Frank Osterfeld <osterfeld@kde.org>
Copyright (C) 2008 Flavio Castelli <flavio.castelli@gmail.com>
Copyright (C) 2009 Till Adam <adam@kde.org>
Copyright (C) 2009 Michael Leupold <lemma@confuego.org>
Copyright (C) 2009 Flavio Castelli <flavio@castelli.name>
Copyright (C) 2009 Frank Osterfeld <osterfeld@kde.org>
Copyright (C) 2009 Pino Toscano <pino@kde.org>
Copyright (C) 2010 Flavio Castelli <flavio@castelli.name>
GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999:
-------------------------------------------------------------
Checkout COPYING.lib
GPL V2 with Bison Exception:
----------------------------
Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison.
# QJson
JSON (JavaScript Object Notation) is a lightweight data-interchange format.
It can represents integer, real number, string, an ordered sequence of value, and a collection of name/value pairs.
QJson is a qt-based library that maps JSON data to QVariant objects.
JSON arrays will be mapped to QVariantList instances, while JSON's objects will be mapped to QVariantMap.
# Install
QJson requires:
- Qt 4.0 or greater
- cmake 2.6 or greater
Some possible cmake options:
- `-DCMAKE_BUILD_TYPE=DEBUG`: enables some debug output (other than making
easier to debug the code)
- `-DQJSON_BUILD_TESTS=yes` or `-DKDE4_BUILD_TESTS=yes`: builds the unit tests
- `-DCMAKE_INSTALL_PREFIX=${HOME}/testinstall`: install qjson in a custom directory
- `-DCMAKE_INCLUDE_PATH=${HOME}/testinstall/include`: include a custom include directory
- `-DCMAKE_LIBRARY_PATH=${HOME}/testinstall/lib`: include a custom library directory
- `-DLIB_DESTINATION=lib64`: if you have a 64 bit system with separate
libraries for 64 bit libraries
- `-DQJSON_VERBOSE_DEBUG_OUTPUT:BOOL=ON`: more debugging statements are
generated by the parser. It's useful only if you are trying to fix
the bison grammar.
For Unix/Linux/Mac:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=_preferred_path_ ..
make
make install
/sbin/ldconfig #if necessary
# License
This library is licensed under the Lesser GNU General Public License version 2.1.
See the COPYING.lib file for more information.
# Resources
* [Website](http://qjson.sourceforge.net/)
* [Mailing List](https://lists.sourceforge.net/mailman/listinfo/qjson-devel)
* Project Lead/Maintainer (2008-current): [Flavio Castelli](mailto:flavio@castelli.name).
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
STRING(REGEX REPLACE "\n" ";" files "${files}")
FOREACH(file ${files})
MESSAGE(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
EXEC_PROGRAM(
"@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
IF(NOT "${rm_retval}" STREQUAL 0)
MESSAGE(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
ENDIF(NOT "${rm_retval}" STREQUAL 0)
ENDFOREACH(file)
This diff is collapsed.
<hr>
<table width="100%">
<tr>
<td width="10%" align="left" valign="center">
<a href="http://sourceforge.net">
<img
src="http://sourceforge.net/sflogo.php?group_id=144446"
width="88" height="31" border="0" alt="SourceForge Logo"></a>
</td>
<td width="20%" align="left" valign="center">
hosts this site.
</td>
<td>
</td>
<td align="right" valign="center">
Send comments to:<br>
<a href="mailto:qjson-devel@lists.sourceforge.net">QJson Developers</a>
</td>
</tr>
</table>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3214988-2");
pageTracker._trackPageview();
</script>
</body>
</html>
<html>
<head>
<title>
QJson - a Qt based library for mapping JSON data to QVariant objects
</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<a href="http://qjson.sourceforge.net">QJson home page</a>
<hr>
/**
\page
\section _intro Introduction
<a HREF="http://www.json.org/">JSON (JavaScript Object Notation)</a>
is a lightweight data-interchange format.
It can represents integer, real number, string, an ordered sequence of value, and
a collection of name/value pairs.
QJson is a qt-based library that maps JSON data to QVariant objects.
JSON arrays will be mapped to QVariantList instances, while JSON's objects will
be mapped to QVariantMap.
\section _usage Usage
Converting JSON's data to QVariant instance is really simple:
\code
// create a JSonDriver instance
QJson::Parser parser;
bool ok;
// json is a QString containing the data to convert
QVariant result = parser.parse (json, &ok);
\endcode
Suppose you're going to convert this JSON data:
\verbatim
{
"encoding" : "UTF-8",
"plug-ins" : [
"python",
"c++",
"ruby"
],
"indent" : { "length" : 3, "use_space" : true }
}
\endverbatim
The following code would convert the JSON data and parse it:
\code
QJson::Parser parser;
bool ok;
QVariantMap result = parser.parse (json, &ok).toMap();
if (!ok) {
qFatal("An error occured during parsing");
exit (1);
}
qDebug() << "encoding:" << result["encoding"].toString();
qDebug() << "plugins:";
foreach (QVariant plugin, result["plug-ins"].toList()) {
qDebug() << "\t-" << plugin.toString();
}
QVariantMap nestedMap = result["indent"].toMap();
qDebug() << "length:" << nestedMap["length"].toInt();
qDebug() << "use_space:" << nestedMap["use_space"].toBool();
\endcode
The output would be:
\verbatim
encoding: "UTF-8"
plugins:
- "python"
- "c++"
- "ruby"
length: 3
use_space: true
\endverbatim
The QJson::QObjectHelper class permits to serialize QObject instances into JSON. QJson::QObjectHelper also allows to
initialize a QObject using the values stored inside of a JSON object.
\section _build Build instructions
QJson build system is based on cmake. Download QJson sources, extract them, move inside the sources directory and then:
\code
mkdir build
cd build
cmake ..
make
sudo make install
\endcode
\author Flavio Castelli <flavio@castelli.name>
*/
# add_custom_command (OUTPUT ${qjson_SOURCE_DIR}/lib/json_parser.cc
# PRE_BUILD
# COMMAND bison -t -o json_parser.cc -d json_parser.yy
# DEPENDS json_parser.yy
# WORKING_DIRECTORY ${qjson_SOURCE_DIR}/lib/
# )
set(qjson_MOC_HDRS
parserrunnable.h
serializerrunnable.h
)
qt4_wrap_cpp(qjson_MOC_SRCS ${qjson_MOC_HDRS})
set (qjson_SRCS parser.cpp qobjecthelper.cpp json_scanner.cpp json_parser.cc parserrunnable.cpp serializer.cpp serializerrunnable.cpp)
set (qjson_HEADERS parser.h parserrunnable.h qobjecthelper.h serializer.h serializerrunnable.h qjson_export.h)
add_library (qjson SHARED ${qjson_SRCS} ${qjson_MOC_SRCS} ${qjson_HEADERS})
target_link_libraries( qjson ${QT_LIBRARIES})
if(NOT android)
set_target_properties(qjson PROPERTIES
VERSION ${QJSON_LIB_MAJOR_VERSION}.${QJSON_LIB_MINOR_VERSION}.${QJSON_LIB_PATCH_VERSION}
SOVERSION ${QJSON_LIB_MAJOR_VERSION}
)
endif()
set_target_properties(qjson PROPERTIES
DEFINE_SYMBOL QJSON_MAKEDLL
PUBLIC_HEADER "${qjson_HEADERS}"
FRAMEWORK ${OSX_FRAMEWORK}
)
if (NOT APPLE)
set_target_properties(qjson PROPERTIES
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Build/lib/OpenFlipper"
)
endif()
#INSTALL(TARGETS qjson EXPORT qjson-export
# LIBRARY DESTINATION ${LIB_INSTALL_DIR}
# RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
# ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
# FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR}
# PUBLIC_HEADER DESTINATION ${INCLUDE_INSTALL_DIR}/qjson
#)
This diff is collapsed.
/* A Bison parser, made by GNU Bison 2.3. */
/* Skeleton interface for Bison LALR(1) parsers in C++
Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.