For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

How do I generate CMakeLists.txt for OCE?

fester's picture

I want to compile OCE, but so far haven't found the CMaekLists.txt file I need to do so.

How do I generate CMakeLists.txt for OCE?

Denis Barbier's picture

If you do not find CMakeLists.txt, it is very likely that you are not building OCE but OCCT.

fester's picture

Nope. I have OCE and there is no CMakeLists.txt file there.

So how do I create one?

Denis Barbier's picture

OCE sources can be found here:
There is a top-level CMakeLists.txt; please explain where you downloaded your sources so that we can help you.

fester's picture

Sorry, I can't find the source. The file name was oce_0.9.1-3.debian.tar.gz.

I have downloaded a newer version of OCE (tpaviot-oce-0.11-0-ge649ebc). This one comes with CMake files. Thank you!

Forum supervisor's picture

Dear fester,

In OCCT 6.7.0 release file CMakeLists.txt is contained in the root folder called opencascade-6.7.0.
In OCCT 6.6.0 release CMakeLists.txt was contained in sub-directory ros/adm/cmake

Best regards