rewrite include paths for Hunter packages
parent
a4587e8609
commit
dab8041bcd
|
@ -45,6 +45,10 @@ HunterGate(
|
||||||
SHA1 "2e9ae973d028660b735ac4c6142725ca36a0048a"
|
SHA1 "2e9ae973d028660b735ac4c6142725ca36a0048a"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
IF(HUNTER_ENABLED)
|
||||||
|
add_definitions(-DASSIMP_USE_HUNTER)
|
||||||
|
ENDIF(HUNTER_ENABLED)
|
||||||
|
|
||||||
PROJECT( Assimp )
|
PROJECT( Assimp )
|
||||||
|
|
||||||
# All supported options ###############################################
|
# All supported options ###############################################
|
||||||
|
|
|
@ -55,7 +55,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include "3MFXmlTags.h"
|
#include "3MFXmlTags.h"
|
||||||
#include "D3MFOpcPackage.h"
|
#include "D3MFOpcPackage.h"
|
||||||
|
|
||||||
#include <contrib/zip/src/zip.h>
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
|
# include <zip/zip.h>
|
||||||
|
#else
|
||||||
|
# include <contrib/zip/src/zip.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Assimp {
|
namespace Assimp {
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "D3MFOpcPackage.h"
|
#include "D3MFOpcPackage.h"
|
||||||
#include <unzip.h>
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
|
# include <minizip/unzip.h>
|
||||||
|
#else
|
||||||
|
# include <unzip.h>
|
||||||
|
#endif
|
||||||
#include <assimp/irrXMLWrapper.h>
|
#include <assimp/irrXMLWrapper.h>
|
||||||
#include "3MFXmlTags.h"
|
#include "3MFXmlTags.h"
|
||||||
#include <assimp/fast_atof.h>
|
#include <assimp/fast_atof.h>
|
||||||
|
|
|
@ -56,7 +56,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <unzip.h>
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
|
# include <minizip/unzip.h>
|
||||||
|
#else
|
||||||
|
# include <unzip.h>
|
||||||
|
#endif
|
||||||
#include "3MFXmlTags.h"
|
#include "3MFXmlTags.h"
|
||||||
|
|
||||||
namespace Assimp {
|
namespace Assimp {
|
||||||
|
|
|
@ -144,7 +144,11 @@ namespace Assimp
|
||||||
|
|
||||||
#if ASSIMP_BLEND_WITH_POLY_2_TRI
|
#if ASSIMP_BLEND_WITH_POLY_2_TRI
|
||||||
|
|
||||||
#include "../contrib/poly2tri/poly2tri/poly2tri.h"
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
|
# include <poly2tri/poly2tri.h>
|
||||||
|
#else
|
||||||
|
# include "../contrib/poly2tri/poly2tri/poly2tri.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Assimp
|
namespace Assimp
|
||||||
{
|
{
|
||||||
|
|
|
@ -320,7 +320,11 @@ std::string BaseImporter::GetExtension( const std::string& file ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "../contrib/utf8cpp/source/utf8.h"
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
|
# include <utf8/utf8.h>
|
||||||
|
#else
|
||||||
|
# include "../contrib/utf8cpp/source/utf8.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
// Convert to UTF8 data
|
// Convert to UTF8 data
|
||||||
|
|
|
@ -49,8 +49,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include "Common/PolyTools.h"
|
#include "Common/PolyTools.h"
|
||||||
#include "PostProcessing/ProcessHelper.h"
|
#include "PostProcessing/ProcessHelper.h"
|
||||||
|
|
||||||
#include "../contrib/poly2tri/poly2tri/poly2tri.h"
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
#include "../contrib/clipper/clipper.hpp"
|
# include <poly2tri/poly2tri.h>
|
||||||
|
# include <polyclipping/clipper.hpp>
|
||||||
|
#else
|
||||||
|
# include "../contrib/poly2tri/poly2tri/poly2tri.h"
|
||||||
|
# include "../contrib/clipper/clipper.hpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
|
|
@ -52,7 +52,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
|
||||||
#ifndef ASSIMP_BUILD_NO_COMPRESSED_IFC
|
#ifndef ASSIMP_BUILD_NO_COMPRESSED_IFC
|
||||||
|
# ifdef ASSIMP_USE_HUNTER
|
||||||
|
# include <minizip/unzip.h>
|
||||||
|
# else
|
||||||
# include <unzip.h>
|
# include <unzip.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "IFCLoader.h"
|
#include "IFCLoader.h"
|
||||||
|
|
|
@ -49,8 +49,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include "Common/PolyTools.h"
|
#include "Common/PolyTools.h"
|
||||||
#include "PostProcessing/ProcessHelper.h"
|
#include "PostProcessing/ProcessHelper.h"
|
||||||
|
|
||||||
#include "../contrib/poly2tri/poly2tri/poly2tri.h"
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
#include "../contrib/clipper/clipper.hpp"
|
# include <poly2tri/poly2tri.h>
|
||||||
|
# include <polyclipping/clipper.hpp>
|
||||||
|
#else
|
||||||
|
# include "../contrib/poly2tri/poly2tri/poly2tri.h"
|
||||||
|
# include "../contrib/clipper/clipper.hpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
#include "STEPFileEncoding.h"
|
#include "STEPFileEncoding.h"
|
||||||
#include <assimp/fast_atof.h>
|
#include <assimp/fast_atof.h>
|
||||||
#include <contrib/utf8cpp/source/utf8.h>
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
|
# include <utf8/utf8.h>
|
||||||
|
#else
|
||||||
|
# include <contrib/utf8cpp/source/utf8.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include "MMDPmxParser.h"
|
#include "MMDPmxParser.h"
|
||||||
#include <assimp/StringUtils.h>
|
#include <assimp/StringUtils.h>
|
||||||
#include "../contrib/utf8cpp/source/utf8.h"
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
|
# include <utf8/utf8.h>
|
||||||
|
#else
|
||||||
|
# include "../contrib/utf8cpp/source/utf8.h"
|
||||||
|
#endif
|
||||||
#include <assimp/Exceptional.h>
|
#include <assimp/Exceptional.h>
|
||||||
|
|
||||||
namespace pmx
|
namespace pmx
|
||||||
|
|
|
@ -42,7 +42,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#ifndef AI_Q3BSP_ZIPARCHIVE_H_INC
|
#ifndef AI_Q3BSP_ZIPARCHIVE_H_INC
|
||||||
#define AI_Q3BSP_ZIPARCHIVE_H_INC
|
#define AI_Q3BSP_ZIPARCHIVE_H_INC
|
||||||
|
|
||||||
#include <unzip.h>
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
|
# include <minizip/unzip.h>
|
||||||
|
#else
|
||||||
|
# include <unzip.h>
|
||||||
|
#endif
|
||||||
#include <assimp/IOStream.hpp>
|
#include <assimp/IOStream.hpp>
|
||||||
#include <assimp/IOSystem.hpp>
|
#include <assimp/IOSystem.hpp>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
@ -59,8 +59,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <assimp/ByteSwapper.h>
|
#include <assimp/ByteSwapper.h>
|
||||||
#include <assimp/StreamReader.h>
|
#include <assimp/StreamReader.h>
|
||||||
#include <assimp/TinyFormatter.h>
|
#include <assimp/TinyFormatter.h>
|
||||||
//#include "../contrib/ConvertUTF/ConvertUTF.h"
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
#include "../contrib/utf8cpp/source/utf8.h"
|
# include <utf8/utf8.h>
|
||||||
|
#else
|
||||||
|
//# include "../contrib/ConvertUTF/ConvertUTF.h"
|
||||||
|
# include "../contrib/utf8cpp/source/utf8.h"
|
||||||
|
#endif
|
||||||
#include <assimp/IOSystem.hpp>
|
#include <assimp/IOSystem.hpp>
|
||||||
#include <assimp/DefaultLogger.hpp>
|
#include <assimp/DefaultLogger.hpp>
|
||||||
#include <assimp/scene.h>
|
#include <assimp/scene.h>
|
||||||
|
|
|
@ -60,7 +60,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <assimp/types.h>
|
#include <assimp/types.h>
|
||||||
#include <assimp/MemoryIOWrapper.h>
|
#include <assimp/MemoryIOWrapper.h>
|
||||||
#include <assimp/irrXMLWrapper.h>
|
#include <assimp/irrXMLWrapper.h>
|
||||||
#include "../contrib/utf8cpp/source/utf8.h"
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
|
# include <utf8/utf8.h>
|
||||||
|
#else
|
||||||
|
# include "../contrib/utf8cpp/source/utf8.h"
|
||||||
|
#endif
|
||||||
#include <assimp/fast_atof.h>
|
#include <assimp/fast_atof.h>
|
||||||
#include <stack>
|
#include <stack>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
|
@ -57,7 +57,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <vector>
|
#include <vector>
|
||||||
//#include <stdio.h>
|
//#include <stdio.h>
|
||||||
//#include <cstdint>
|
//#include <cstdint>
|
||||||
#include <irrXML.h>
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
|
# include <irrXML/irrXML.h>
|
||||||
|
#else
|
||||||
|
# include <irrXML.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Assimp {
|
namespace Assimp {
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define INCLUDED_AI_IRRXML_WRAPPER
|
#define INCLUDED_AI_IRRXML_WRAPPER
|
||||||
|
|
||||||
// some long includes ....
|
// some long includes ....
|
||||||
#include <irrXML.h>
|
#ifdef ASSIMP_USE_HUNTER
|
||||||
|
# include <irrXML/irrXML.h>
|
||||||
|
#else
|
||||||
|
# include <irrXML.h>
|
||||||
|
#endif
|
||||||
#include "IOStream.hpp"
|
#include "IOStream.hpp"
|
||||||
#include "BaseImporter.h"
|
#include "BaseImporter.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
Loading…
Reference in New Issue