Archived issue #0023957
Provide CMakeLists.txt file in root folder of OCCT
Description
It is typical for software packages that use CMake as a build system to contain root CMakeLists.txt file in the root folder. The same should be done for OCCT to provide better accessibility of CMake scripts.
Public activity
3 archived notes
Participants are labeled by their role within this record.
I have pushed a very simple version (just redirect to adm/cmake) to CR23957. This seems to work, however with some issues: at least, choice of BUILD_TYPE option does not work on Windows (projects with all configurations are generated).
I suggest that all static code for CMake scripts should be moved to CMakeLists.txt located in OCCT root folder, while variable part (lists of files per toolkit, dependencies, etc. should be kept in adm/cmake)
I suggest that all static code for CMake scripts should be moved to CMakeLists.txt located in OCCT root folder, while variable part (lists of files per toolkit, dependencies, etc. should be kept in adm/cmake)
Patch has been reviewed. Please test the one
Patch has been tested on Windows and Linux platforms.
All works well.
All works well.