Local CMake generator · CGAL
Build a CMake starter for your CGAL project.
Choose the project style and enter the source files. This browser tool creates a starter CMakeLists.txt; it does not scan folders, run CMake, or compile code.
Project setup
Choose a script type
For example mode, list each .c or .cpp file that contains its own main() function. For demo mode, list all source files in the application.
What this page can and cannot do
A web page cannot discover files in your current terminal directory. Enter source file names here, then save the generated text as CMakeLists.txt in your project folder. This is an independent starter generator, not the official cgal_create_cmake_script command.
Generated locally
CMakeLists.txt
The starter updates as you change the options.
Review the generated file and adjust it to your installed CGAL version and project structure.
Next steps
- Save the output as CMakeLists.txt beside your source files.
- Configure your project with CMake in your local development environment.
- Review CGAL's current installation and CMake documentation for platform-specific requirements.