0026529: CMake offers rebuilding of platform dependent code unclear for an user
authoribs <ibs@opencascade.com>
Thu, 20 Aug 2015 13:24:50 +0000 (16:24 +0300)
committerski <ski@opencascade.com>
Thu, 20 Aug 2015 13:26:23 +0000 (16:26 +0300)
commit316d77d9813b02630f8c3122237d25c7b47b7f12
treed1d1f05a8b16f8800e1ac14345506c67dee129b3
parentd1a67b9d1bc6867be5da1209050d3932f307a184
0026529: CMake offers rebuilding of platform dependent code unclear for an user

Fix for building with GCC and CLang

CMake variable descriptions updated
"Building with CMake" article updated

BuildToolkit.cmake cleaned up and renamed
"TestCases" project and all relating variables removed; custom script added for building environment
DrawAppliInit is copied from occt root to CMake binary dir if the file exists

rebuild platform dependent code by cmake cleaned up
Flex & Bison compiler flags added

RelWithDebInfo OCCT libraries are moved to libi folder; the binary is moved to bini one

CMAKE_BUILD_TYPE is set as Release by-default for a single-configuration generator

env.bat in installation folder has default value of CASDEB that equals to the build type of the last installed OCCT libraries

"building with CMake" article updated
86 files changed:
CMakeLists.txt
adm/cmake/3rdparty_macro.cmake
adm/cmake/BuildToolkit.cmake [deleted file]
adm/cmake/bison.cmake [new file with mode: 0644]
adm/cmake/flex.cmake [new file with mode: 0644]
adm/cmake/freetype.cmake
adm/cmake/occt_macros.cmake
adm/cmake/occt_toolkit.cmake [new file with mode: 0644]
adm/cmake/tbb.cmake
adm/cmake/tcl.cmake
adm/cmake/vardescr.cmake [new file with mode: 0644]
adm/cmake/vtk.cmake
adm/templates/custom.bat.main
adm/templates/custom.build.bat.in [new file with mode: 0644]
adm/templates/custom.build.sh.in [new file with mode: 0644]
adm/templates/custom.install.bat.in [moved from adm/templates/custom.bat.in with 90% similarity]
adm/templates/custom.install.sh.in [moved from adm/templates/custom.sh.in with 89% similarity]
adm/templates/env.bat
adm/templates/env.build.bat.in
adm/templates/env.build.sh.in
adm/templates/env.install.bat.in [moved from adm/templates/env.bat.in with 95% similarity]
adm/templates/env.install.sh.in [moved from adm/templates/env.sh.in with 97% similarity]
adm/templates/env.sh
dox/dev_guides/building/building.md
dox/dev_guides/building/cmake/cmake.md
dox/dev_guides/building/cmake/images/cmake_image001.png
dox/dev_guides/building/cmake/images/cmake_image002.png
dox/dev_guides/building/cmake/images/cmake_image007.png
src/DRAWEXE/CMakeLists.txt
src/FWOSPlugin/CMakeLists.txt
src/TKBO/CMakeLists.txt
src/TKBRep/CMakeLists.txt
src/TKBin/CMakeLists.txt
src/TKBinL/CMakeLists.txt
src/TKBinTObj/CMakeLists.txt
src/TKBinXCAF/CMakeLists.txt
src/TKBool/CMakeLists.txt
src/TKCAF/CMakeLists.txt
src/TKCDF/CMakeLists.txt
src/TKDCAF/CMakeLists.txt
src/TKDraw/CMakeLists.txt
src/TKFeat/CMakeLists.txt
src/TKFillet/CMakeLists.txt
src/TKG2d/CMakeLists.txt
src/TKG3d/CMakeLists.txt
src/TKGeomAlgo/CMakeLists.txt
src/TKGeomBase/CMakeLists.txt
src/TKHLR/CMakeLists.txt
src/TKIGES/CMakeLists.txt
src/TKIVtk/CMakeLists.txt
src/TKIVtkDraw/CMakeLists.txt
src/TKLCAF/CMakeLists.txt
src/TKMath/CMakeLists.txt
src/TKMesh/CMakeLists.txt
src/TKMeshVS/CMakeLists.txt
src/TKOffset/CMakeLists.txt
src/TKOpenGl/CMakeLists.txt
src/TKPrim/CMakeLists.txt
src/TKQADraw/CMakeLists.txt
src/TKSTEP/CMakeLists.txt
src/TKSTEP209/CMakeLists.txt
src/TKSTEPAttr/CMakeLists.txt
src/TKSTEPBase/CMakeLists.txt
src/TKSTL/CMakeLists.txt
src/TKService/CMakeLists.txt
src/TKShHealing/CMakeLists.txt
src/TKTObj/CMakeLists.txt
src/TKTObjDRAW/CMakeLists.txt
src/TKTopAlgo/CMakeLists.txt
src/TKTopTest/CMakeLists.txt
src/TKV3d/CMakeLists.txt
src/TKVRML/CMakeLists.txt
src/TKViewerTest/CMakeLists.txt
src/TKVoxel/CMakeLists.txt
src/TKXCAF/CMakeLists.txt
src/TKXDEDRAW/CMakeLists.txt
src/TKXDEIGES/CMakeLists.txt
src/TKXDESTEP/CMakeLists.txt
src/TKXMesh/CMakeLists.txt
src/TKXSBase/CMakeLists.txt
src/TKXSDRAW/CMakeLists.txt
src/TKXml/CMakeLists.txt
src/TKXmlL/CMakeLists.txt
src/TKXmlTObj/CMakeLists.txt
src/TKXmlXCAF/CMakeLists.txt
src/TKernel/CMakeLists.txt