Commit 6ca7563d authored by Ghislain MARY's avatar Ghislain MARY

No longer install CMakeLists.txt for xml2.

parent 5138ad94
...@@ -38,15 +38,4 @@ else() ...@@ -38,15 +38,4 @@ else()
lcb_external_source_paths("libxml2" "xml2" "externals/libxml2" "external/libxml2") lcb_external_source_paths("libxml2" "xml2" "externals/libxml2" "external/libxml2")
lcb_may_be_found_on_system(YES) lcb_may_be_found_on_system(YES)
lcb_ignore_warnings(YES) lcb_ignore_warnings(YES)
lcb_patch_command(
"${CMAKE_COMMAND}" "-E" "copy" "${CMAKE_CURRENT_SOURCE_DIR}/builders/xml2/CMakeLists.txt" "<SOURCE_DIR>"
"COMMAND"
"${CMAKE_COMMAND}" "-E" "copy" "${CMAKE_CURRENT_SOURCE_DIR}/builders/xml2/config.h.cmake" "<SOURCE_DIR>"
)
if(CMAKE_SYSTEM_NAME STREQUAL "WindowsPhone")
lcb_patch_command("COMMAND" "${CMAKE_COMMAND}" "-E" "copy" "${CMAKE_CURRENT_SOURCE_DIR}/builders/xml2/windowsphone_port.h" "<SOURCE_DIR>")
elseif(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
lcb_patch_command("COMMAND" "${CMAKE_COMMAND}" "-E" "copy" "${CMAKE_CURRENT_SOURCE_DIR}/builders/xml2/universal_windows_port.h" "<SOURCE_DIR>")
endif()
endif() endif()
This diff is collapsed.
/***************************************************************************
* config.h.cmake
* Copyright (C) 2014 Belledonne Communications, Grenoble France
*
****************************************************************************
*
* 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
* of the License, 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.
*
****************************************************************************/
#cmakedefine HAVE_INTTYPES_H 1
#cmakedefine HAVE_MEMORY_H 1
#cmakedefine HAVE_STDINT_H 1
#cmakedefine HAVE_STDLIB_H 1
#cmakedefine HAVE_STRINGS_H 1
#cmakedefine HAVE_STRING_H 1
#cmakedefine HAVE_SYS_STAT_H 1
#cmakedefine HAVE_SYS_TYPES_H 1
#cmakedefine HAVE_POLL_H 1
#cmakedefine HAVE_SYS_POLL_H 1
#cmakedefine HAVE_SYS_UIO_H 1
#cmakedefine HAVE_FCNTL_H 1
#cmakedefine HAVE_SYS_TIME_H 1
#cmakedefine HAVE_UNISTD_H 1
#cmakedefine HAVE_SYS_SHM_H 1
#cmakedefine HAVE_WINDOWS_H 1
#cmakedefine HAVE_DLFCN_H 1
#cmakedefine HAVE_ALLOCA_H 1
#cmakedefine HAVE_CTYPE_H 1
#cmakedefine HAVE_DIRENT_H 1
#cmakedefine HAVE_ERRNO_H 1
#cmakedefine HAVE_MALLOC_H 1
#cmakedefine HAVE_STDARG_H 1
#cmakedefine HAVE_TIME_H 1
#cmakedefine HAVE_ANSIDECL_H 1
#cmakedefine HAVE_IEEEFP_H 1
#cmakedefine HAVE_NAN_H 1
#cmakedefine HAVE_MATH_H 1
#cmakedefine HAVE_LIMITS_H 1
#cmakedefine HAVE_FP_CLASS_H 1
#cmakedefine HAVE_FLOAT_H 1
#cmakedefine HAVE_SYS_SOCKET_H 1
#cmakedefine HAVE_NETINET_IN_H 1
#cmakedefine HAVE_ARPA_INET_H 1
#cmakedefine HAVE_NETDB_H 1
#cmakedefine HAVE_SYS_SELECT_H 1
#cmakedefine HAVE_SYS_MMAN_H 1
#cmakedefine HAVE_SYS_TIMEB_H 1
#cmakedefine HAVE_SIGNAL_H 1
#cmakedefine HAVE_ARPA_NAMESER_H 1
#cmakedefine HAVE_RESOLV_H 1
#cmakedefine HAVE_DL_H 1
#cmakedefine HAVE_VA_COPY 1
#cmakedefine HAVE___VA_COPY 1
#ifndef LIBXML2_PORT_H
#define LIBXML2_PORT_H
#define GetVersionEx(osvi) (((osvi)->dwPlatformId = 0) != 0)
#define getcwd(a, b) NULL
#endif /* LIBXML2_PORT_H */
#ifndef WINDOWSPHONE_PORT_H
#define WINDOWSPHONE_PORT_H
#define CreateMutex(a, b, c) CreateMutexExW(a, c, ((b) ? CREATE_MUTEX_INITIAL_OWNER : 0), 0)
#define GetVersionEx(osvi) (((osvi)->dwPlatformId = 0) != 0)
#define InitializeCriticalSection(cs) InitializeCriticalSectionEx(cs, 0, 0)
#define WaitForSingleObject(hHandle, dwMilliseconds) WaitForSingleObjectEx(hHandle, dwMilliseconds, 0)
#define Sleep(ms) { \
HANDLE sleepEvent = CreateEventEx(NULL, NULL, CREATE_EVENT_MANUAL_RESET, EVENT_ALL_ACCESS); \
if (!sleepEvent) return; \
WaitForSingleObjectEx(sleepEvent, ms, FALSE); \
}
#endif /* WINDOWSPHONE_PORT_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment