endif()
include_directories(${CMAKE_CURRENT_BINARY_DIR})
-configure_file(config-taglib.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
if(WITH_ASF)
- set(TAGLIB_WITH_ASF TRUE)
+ set(TAGLIB_WITH_ASF TRUE)
endif()
if(WITH_MP4)
- set(TAGLIB_WITH_MP4 TRUE)
+ set(TAGLIB_WITH_MP4 TRUE)
endif()
configure_file(taglib/taglib_config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/taglib_config.h)
* USA *
***************************************************************************/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
+#include "taglib_config.h"
#include <stdlib.h>
#include <fileref.h>
#include <tfile.h>
+++ /dev/null
-/* config-taglib.h. Generated by cmake from config-taglib.h.cmake */
-
-/* Indicates the endianness of your target system */
-#cmakedefine TAGLIB_LITTLE_ENDIAN 1
-#cmakedefine TAGLIB_BIG_ENDIAN 1
-
-/* Size of integral types */
-#cmakedefine SIZEOF_SHORT ${SIZEOF_SHORT}
-#cmakedefine SIZEOF_INT ${SIZEOF_INT}
-#cmakedefine SIZEOF_LONGLONG ${SIZEOF_LONGLONG}
-#cmakedefine SIZEOF_WCHAR_T ${SIZEOF_WCHAR_T}
-
-/* Defined if your compiler supports std::wstring */
-#cmakedefine HAVE_STD_WSTRING 1
-
-/* Defined if your compiler supports some atomic operations */
-#cmakedefine HAVE_STD_ATOMIC 1
-#cmakedefine HAVE_BOOST_ATOMIC 1
-#cmakedefine HAVE_GCC_ATOMIC 1
-#cmakedefine HAVE_MAC_ATOMIC 1
-#cmakedefine HAVE_WIN_ATOMIC 1
-#cmakedefine HAVE_IA64_ATOMIC 1
-
-/* Defined if your compiler supports some byte swap functions */
-#cmakedefine HAVE_GCC_BYTESWAP_16 1
-#cmakedefine HAVE_GCC_BYTESWAP_32 1
-#cmakedefine HAVE_GCC_BYTESWAP_64 1
-#cmakedefine HAVE_GLIBC_BYTESWAP 1
-#cmakedefine HAVE_MSC_BYTESWAP 1
-#cmakedefine HAVE_MAC_BYTESWAP 1
-#cmakedefine HAVE_OPENBSD_BYTESWAP 1
-
-/* Defined if your compiler supports codecvt */
-#cmakedefine HAVE_STD_CODECVT 1
-
-/* Defined if you have libz */
-#cmakedefine HAVE_ZLIB 1
-
-#cmakedefine NO_ITUNES_HACKS 1
-#cmakedefine WITH_ASF 1
-#cmakedefine WITH_MP4 1
-
-#cmakedefine TESTS_DIR "@TESTS_DIR@"
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "config.h"
-
+#include "taglib_config.h"
#include <tdebug.h>
#include <tstring.h>
#include "asfproperties.h"
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "config.h"
-
+#include "taglib_config.h"
#include <tpropertymap.h>
#include "asftag.h"
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include <config.h>
+#include "taglib_config.h"
#ifdef _WIN32
# include <Shlwapi.h>
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "config.h"
-
+#include "taglib_config.h"
#include <tdebug.h>
#include <tstring.h>
#include "mp4file.h"
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "config.h"
-
+#include "taglib_config.h"
#include <tdebug.h>
#include <tstring.h>
#include <tpropertymap.h>
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "config.h"
+#include "taglib_config.h"
#if HAVE_ZLIB
#include <zlib.h>
* http://www.mozilla.org/MPL/ *
***************************************************************************/
-#include "config.h"
-
+#include "taglib_config.h"
#include <tdebug.h>
#include "id3v2framefactory.h"
/* taglib_config.h. Generated by cmake from taglib_config.h.cmake */
+/* Indicates the endianness of your target system */
+#cmakedefine TAGLIB_LITTLE_ENDIAN 1
+#cmakedefine TAGLIB_BIG_ENDIAN 1
+
+/* Size of integral types */
+#cmakedefine SIZEOF_SHORT ${SIZEOF_SHORT}
+#cmakedefine SIZEOF_INT ${SIZEOF_INT}
+#cmakedefine SIZEOF_LONGLONG ${SIZEOF_LONGLONG}
+#cmakedefine SIZEOF_WCHAR_T ${SIZEOF_WCHAR_T}
+
+/* Defined if your compiler supports std::wstring */
+#cmakedefine HAVE_STD_WSTRING 1
+
+/* Defined if your compiler supports some atomic operations */
+#cmakedefine HAVE_STD_ATOMIC 1
+#cmakedefine HAVE_BOOST_ATOMIC 1
+#cmakedefine HAVE_GCC_ATOMIC 1
+#cmakedefine HAVE_MAC_ATOMIC 1
+#cmakedefine HAVE_WIN_ATOMIC 1
+#cmakedefine HAVE_IA64_ATOMIC 1
+
+/* Defined if your compiler supports some byte swap functions */
+#cmakedefine HAVE_GCC_BYTESWAP_16 1
+#cmakedefine HAVE_GCC_BYTESWAP_32 1
+#cmakedefine HAVE_GCC_BYTESWAP_64 1
+#cmakedefine HAVE_GLIBC_BYTESWAP 1
+#cmakedefine HAVE_MSC_BYTESWAP 1
+#cmakedefine HAVE_MAC_BYTESWAP 1
+#cmakedefine HAVE_OPENBSD_BYTESWAP 1
+
+/* Defined if your compiler supports codecvt */
+#cmakedefine HAVE_STD_CODECVT 1
+
+/* Defined if you have libz */
+#cmakedefine HAVE_ZLIB 1
+
#define TAGLIB_WITH_ASF 1
#define TAGLIB_WITH_MP4 1
+
+#cmakedefine TESTS_DIR "@TESTS_DIR@"
#define TAGLIB_EXPORT
#endif
-#ifndef TAGLIB_NO_CONFIG
-#include "taglib_config.h"
-#endif
-
#endif
#ifndef TAGLIB_H
#define TAGLIB_H
-#include "config.h"
+#include "taglib_config.h"
#define TAGLIB_MAJOR_VERSION 1
#define TAGLIB_MINOR_VERSION 8
#define TAGLIB_PATCH_VERSION 0
-#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 1))
-#define TAGLIB_IGNORE_MISSING_DESTRUCTOR _Pragma("GCC diagnostic ignored \"-Wnon-virtual-dtor\"")
-#else
-#define TAGLIB_IGNORE_MISSING_DESTRUCTOR
-#endif
-
-#if (defined(_MSC_VER) && _MSC_VER >= 1600)
-#define TAGLIB_CONSTRUCT_BITSET(x) static_cast<unsigned long long>(x)
-#else
-#define TAGLIB_CONSTRUCT_BITSET(x) static_cast<unsigned long>(x)
-#endif
-
-#include <string>
-#include <climits>
-
// Check the widths of integral types.
#if SIZEOF_SHORT != 2
# error TagLib requires that wchar_t is sufficient to store a UTF-16 char.
#endif
+#include <string>
+
+#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 1))
+#define TAGLIB_IGNORE_MISSING_DESTRUCTOR _Pragma("GCC diagnostic ignored \"-Wnon-virtual-dtor\"")
+#else
+#define TAGLIB_IGNORE_MISSING_DESTRUCTOR
+#endif
+
+#if (defined(_MSC_VER) && _MSC_VER >= 1600)
+#define TAGLIB_CONSTRUCT_BITSET(x) static_cast<unsigned long long>(x)
+#else
+#define TAGLIB_CONSTRUCT_BITSET(x) static_cast<unsigned long>(x)
+#endif
+
// Atomic increment/decrement operations
#if defined(HAVE_STD_ATOMIC)
#include <vorbisfile.h>
#include <cppunit/extensions/HelperMacros.h>
#include "utils.h"
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
using namespace std;
using namespace TagLib;
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "taglib_config.h"
+
#ifdef _WIN32
#include <windows.h>
#else