Archived issue #0023957

Provide CMakeLists.txt file in root folder of OCCT

Open CASCADEOCCT:Codingclosed3 public notes

Search issues

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.

01Commenter 1
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)
02Commenter 2
Patch has been reviewed. Please test the one
03Commenter 1
Patch has been tested on Windows and Linux platforms.
All works well.