diff --git a/IlmBase/config.windows/IlmBaseConfig.h b/IlmBase/config.windows/IlmBaseConfig.h deleted file mode 100644 index 87132606..00000000 --- a/IlmBase/config.windows/IlmBaseConfig.h +++ /dev/null @@ -1,21 +0,0 @@ -// Hand-crafted version of config/IlmBaseConfig.h for Windows -// -// Define and set to 1 if the target system has POSIX thread support -// and you want IlmBase to use it for multithreaded file I/O. -// - -#undef HAVE_PTHREAD - -// -// Define and set to 1 if the target system supports POSIX semaphores -// and you want OpenEXR to use them; otherwise, OpenEXR will use its -// own semaphore implementation. -// - -#undef HAVE_POSIX_SEMAPHORES - -// Required for system-specific debug trap code in IexBaseExc.cpp -// and DLL export macros - -#define PLATFORM_WINDOWS 1 - diff --git a/PyIlmBase/config.windows/PyIlmBaseConfig.h b/PyIlmBase/config.windows/PyIlmBaseConfig.h deleted file mode 100644 index 6fa1a853..00000000 --- a/PyIlmBase/config.windows/PyIlmBaseConfig.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// This is a hard-coded config file for Windows platforms. Don't -// change any of these settings. -// - -// -// Define and set to 1 if the target system has POSIX thread support -// and you want OpenEXR to use it for multithreaded file I/O. -// - -/* #undef HAVE_PTHREAD */ - -// -// Define and set to 1 if the target system supports POSIX semaphores -// and you want OpenEXR to use them; otherwise, OpenEXR will use its -// own semaphore implementation. -// - -/* #undef HAVE_POSIX_SEMAPHORES */ - -// -// Define and set to 1 if the target system is a Darwin-based system -// (e.g., OS X). -// - -/* #undef HAVE_DARWIN */ - -// -// Define and set to 1 if the target system supports a proc filesystem -// compatible with the Linux kernel's proc filesystem. Note that this -// is only used by a program in the IlmImfTest test suite, it's not -// used by any OpenEXR library or application code. -// - -/* #undef HAVE_LINUX_PROCFS */ - -// -// Define and set to 1 if the target system has a complete -// implementation, specifically if it supports the std::right -// formatter. -// - -#define HAVE_COMPLETE_IOMANIP 1 diff --git a/cmake/FindNumPy.cmake b/cmake/FindNumPy.cmake deleted file mode 100644 index ed2d4343..00000000 --- a/cmake/FindNumPy.cmake +++ /dev/null @@ -1,51 +0,0 @@ - - -if(NOT PYTHON_EXECUTABLE) - find_package(PythonInterp QUIET) -endif() - -if (PYTHON_EXECUTABLE) - # Find out the include path - execute_process( - COMMAND "${PYTHON_EXECUTABLE}" -c - "from __future__ import print_function\ntry: import numpy; print(numpy.get_include(), end='')\nexcept:pass\n" - RESULT_VARIABLE _NUMPY_RESULT - OUTPUT_VARIABLE py_ilmbase_numpy_path - OUTPUT_STRIP_TRAILING_WHITESPACE) - - if(NOT _NUMPY_RESULT MATCHES 0) - set(NumPy_FOUND 0 CACHE INTERNAL "Python numpy not found") - return() - endif() - - # And the version - execute_process( - COMMAND "${PYTHON_EXECUTABLE}" -c - "from __future__ import print_function\ntry: import numpy; print(numpy.__version__, end='')\nexcept:pass\n" - RESULT_VARIABLE _NUMPY_RESULT - OUTPUT_VARIABLE py_ilmbase_numpy_version - OUTPUT_STRIP_TRAILING_WHITESPACE) - - if(NOT _NUMPY_RESULT MATCHES 0) - set(NumPy_FOUND 0 CACHE INTERNAL "Python numpy not found") - return() - endif() - - find_path(NUMPY_INCLUDE_DIRS numpy/arrayobject.h - HINTS "${py_ilmbase_numpy_path}" "${PYTHON_INCLUDE_PATH}" NO_DEFAULT_PATH) - - if(NUMPY_INCLUDE_DIRS) - set(NumPy_FOUND 1 CACHE INTERNAL "Python numpy found") - - include(FindPackageHandleStandardArgs) - find_package_handle_standard_args(NumPy REQUIRED_VARS NUMPY_INCLUDE_DIRS - VERSION_VAR py_ilmbase_numpy_version) - else() - set(NumPy_FOUND 0 CACHE INTERNAL "Python numpy not found") - message(WARNING "Numpy not found, PyImathNumpy will not be built") - endif() - -else () - message(WARNING "Numpy not found, PyImathNumpy will not be built") - set(NumPy_FOUND 0 CACHE INTERNAL "Python numpy not found") -endif()