-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
-
IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
SET(PYTHON_LIBRARY_DLL "python27_d.lib")
ElSE()
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
-
IF(WIN32)
SET(QT_USE_QTMAIN ON)
ENDIF()
# Widgets finds its own dependencies (QtGui and QtCore).
FIND_PACKAGE(Qt4 REQUIRED)
-IF(NOT Qt4_FOUND)
- MESSAGE(FATAL_ERROR "Qt not found.")
+IF(NOT QT4_FOUND)
+ MESSAGE(FATAL_ERROR "Qt not found. ")
ENDIF()
INCLUDE(${QT_USE_FILE})
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
-
SET(LIBXMLDIR $ENV{LIBXML2_DIR})
-INCLUDE_DIRECTORIES(${LIBXMLDIR}/include/libxml2)
+
+IF(WIN32)
+ INCLUDE_DIRECTORIES(${LIBXMLDIR}/include)
+ELSE()
+ INCLUDE_DIRECTORIES(${LIBXMLDIR}/include/libxml2)
+ENDIF(WIN32)
+
LINK_DIRECTORIES (${LIBXMLDIR}/lib)
SET(LIBXML2_LIBRARIES ${LIBXMLDIR}/lib/libxml2.lib)
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.10)
PROJECT (NewGEOM)
rem --------------- cmake 2.8.7 --------------
if "%CMAKEDIR%" == "" (
- set CMAKEDIR=%PDIR%\cmake-2.8.12.1
+ set CMAKEDIR=%PDIR%\cmake-2.8.10.2
)
set PATH=%CMAKEDIR%\bin;%PATH%
@REM -------------------------
@REM CASCADE
-@SET PATH=%CASROOT%;%CASROOT%\win32\bind;%PATH%
-@SET LIB=%CASROOT%\win32\libd;%LIB%
-@set CSF_GraphicShr=%CASROOT%\win32\bind\TKOpenGl.dll
+@SET PATH=%CASROOT%;%CASROOT%\win32\bin%OCC_LIB_PREFIX%;%PATH%
+@SET LIB=%CASROOT%\win32\lib%OCC_LIB_PREFIX%;%LIB%
+@set CSF_GraphicShr=%CASROOT%\win32\bin%OCC_LIB_PREFIX%\TKOpenGl.dll
@set CSF_MDTVFontDirectory=%CASROOT%\src\FontMFT
@set CSF_LANGUAGE=us
@set MMGT_CLEAR=1
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
-
INCLUDE(Common)
INCLUDE(XMLProcessing)
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
-
INCLUDE(Common)
SET(PROJECT_HEADERS
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
-
INCLUDE(Common)
INCLUDE(FindCAS)
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
-
FIND_PACKAGE(SWIG REQUIRED)
INCLUDE(${SWIG_USE_FILE})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
-
INCLUDE(Common)
SET(CMAKE_AUTOMOC ON)
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
-
INCLUDE(Common)
SET(CMAKE_AUTOMOC ON)
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
-
INCLUDE(Common)
SET(PROJECT_HEADERS
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
-
INCLUDE(FindCAS)
SET(CMAKE_AUTOMOC ON)