node-expat
Advanced tools
Comparing version 2.3.15 to 2.3.16
@@ -9,3 +9,3 @@ # This file is copyrighted under the BSD-license for buildsystem files of KDE | ||
set(PACKAGE_NAME "expat") | ||
set(PACKAGE_VERSION "2.2.0") | ||
set(PACKAGE_VERSION "2.2.1") | ||
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") | ||
@@ -18,2 +18,4 @@ set(PACKAGE_TARNAME "${PACKAGE_NAME}") | ||
option(BUILD_shared "build a shared expat library" ON) | ||
option(BUILD_doc "build man page for xmlwf" ON) | ||
option(INSTALL "install expat files in cmake install target" ON) | ||
@@ -42,2 +44,8 @@ # configuration options | ||
set(EXTRA_LINK_AND_COMPILE_FLAGS "-fno-strict-aliasing") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_LINK_AND_COMPILE_FLAGS}") | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_LINK_AND_COMPILE_FLAGS}") | ||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${EXTRA_LINK_AND_COMPILE_FLAGS}") | ||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${EXTRA_LINK_AND_COMPILE_FLAGS}") | ||
include_directories(${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/lib) | ||
@@ -48,3 +56,2 @@ if(MSVC) | ||
if(WIN32) | ||
add_definitions(-DWIN32) | ||
set(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "Add a suffix, usually d on Windows") | ||
@@ -56,4 +63,4 @@ endif(WIN32) | ||
lib/xmlrole.c | ||
lib/xmltok.c | ||
lib/xmltok_impl.c | ||
lib/xmltok.c | ||
lib/xmltok_impl.c | ||
lib/xmltok_ns.c | ||
@@ -77,3 +84,3 @@ ) | ||
set(LIBCURRENT 7) # sync | ||
set(LIBREVISION 2) # with | ||
set(LIBREVISION 3) # with | ||
set(LIBAGE 6) # configure.ac! | ||
@@ -88,3 +95,9 @@ math(EXPR LIBCURRENT_MINUS_AGE "${LIBCURRENT} - ${LIBAGE}") | ||
install(TARGETS expat RUNTIME DESTINATION bin | ||
macro(expat_install) | ||
if(INSTALL) | ||
install(${ARGN}) | ||
endif() | ||
endmacro() | ||
expat_install(TARGETS expat RUNTIME DESTINATION bin | ||
LIBRARY DESTINATION lib | ||
@@ -99,8 +112,5 @@ ARCHIVE DESTINATION lib) | ||
install(FILES lib/expat.h lib/expat_external.h DESTINATION include) | ||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/expat.pc DESTINATION lib/pkgconfig) | ||
expat_install(FILES lib/expat.h lib/expat_external.h DESTINATION include) | ||
expat_install(FILES ${CMAKE_CURRENT_BINARY_DIR}/expat.pc DESTINATION lib/pkgconfig) | ||
add_custom_command(TARGET expat PRE_BUILD COMMAND $(MAKE) -C doc xmlwf.1) | ||
if(BUILD_tools AND NOT WINCE) | ||
@@ -117,4 +127,13 @@ set(xmlwf_SRCS | ||
target_link_libraries(xmlwf expat) | ||
install(TARGETS xmlwf DESTINATION bin) | ||
install(FILES doc/xmlwf.1 DESTINATION share/man/man1) | ||
expat_install(TARGETS xmlwf DESTINATION bin) | ||
if(BUILD_doc AND NOT MSVC) | ||
if(CMAKE_GENERATOR STREQUAL "Unix Makefiles") | ||
set(make_command "$(MAKE)") | ||
else() | ||
set(make_command "make") | ||
endif() | ||
add_custom_command(TARGET expat PRE_BUILD COMMAND "${make_command}" -C "${PROJECT_SOURCE_DIR}/doc" xmlwf.1) | ||
expat_install(FILES "${PROJECT_SOURCE_DIR}/doc/xmlwf.1" DESTINATION share/man/man1) | ||
endif() | ||
endif(BUILD_tools AND NOT WINCE) | ||
@@ -134,3 +153,3 @@ | ||
## these are unittests that can be run on any platform | ||
add_executable(runtests tests/runtests.c tests/chardata.c tests/minicheck.c) | ||
add_executable(runtests tests/runtests.c tests/chardata.c tests/minicheck.c tests/memcheck.c) | ||
set_property(TARGET runtests PROPERTY RUNTIME_OUTPUT_DIRECTORY tests) | ||
@@ -140,3 +159,3 @@ target_link_libraries(runtests expat) | ||
add_executable(runtestspp tests/runtestspp.cpp tests/chardata.c tests/minicheck.c) | ||
add_executable(runtestspp tests/runtestspp.cpp tests/chardata.c tests/minicheck.c tests/memcheck.c) | ||
set_property(TARGET runtestspp PROPERTY RUNTIME_OUTPUT_DIRECTORY tests) | ||
@@ -143,0 +162,0 @@ target_link_libraries(runtestspp expat) |
@@ -25,4 +25,2 @@ Overview of the Expat distribution | ||
<top>\Source\bcb5\ Project files for Borland C++ Builder 5 and BCC 5.5. | ||
Expat can be built on Windows in three ways: | ||
using MS Visual C++ (6.0 or .NET), Borland C++ Builder 5 or Cygwin. | ||
Expat can be built on Windows in two ways: | ||
using MS Visual Studio .NET or Cygwin. | ||
@@ -8,19 +8,6 @@ * Cygwin: | ||
* C++ Builder 5: | ||
Possible with make files in the BCB5 subdirectory. | ||
Details can be found in the ReadMe file located there. | ||
* MS Visual C++ 6: | ||
Based on the workspace file expat.dsw. The related project | ||
files (.dsp) are located in the lib subdirectory. | ||
* MS Visual Studio .NET 2002, 2003, 2005, 2008, 2010: | ||
The VC++ 6 workspace file (expat.dsw) and project files (.dsp) | ||
can be opened and imported in VS.NET without problems. | ||
Note: Tests have their own *.dsw files. | ||
* MS Visual Studio 2013 and 2015: | ||
* MS Visual Studio 2013, 2015 and 2017: | ||
A solution file for Visual Studio 2013 is provided: expat.sln. | ||
The associated project files (*.vcxproj) reside in the appropriate | ||
project directories. This solution file can be opened in VS 2015 | ||
project directories. This solution file can be opened in VS 2015 or VS 2017 | ||
and should be upgraded automatically if VS 2013 is not also installed. | ||
@@ -27,0 +14,0 @@ Note: Tests have their own solution files. |
{ | ||
"name": "node-expat", | ||
"version": "2.3.15", | ||
"version": "2.3.16", | ||
"main": "./lib/node-expat", | ||
@@ -5,0 +5,0 @@ "description": "NodeJS binding for fast XML parsing.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
2260029
98
5