CGAL_CREATE_CMAKE_SCRIPT(1)
π NAME π
ok so cgal_create_cmake_script β it literally makes a cmake script for you when you're building apps that use the CGAL library. that's it, that's the whole vibe. bestie, it's giving "i don't want to hand-write a CMakeLists.txt at 2am" energy π
(this one lives in the User Commands section of the manual, iykyk β¨)
π¦ SYNOPSIS π¦
cgal_create_cmake_script [example|demo|test]
πΈ DESCRIPTION πΈ
okay so listen π β cgal_create_cmake_script lets you just... simply create cmake scripts for applications that use the CGAL library. no cap, that's the whole point.
the parameter you pass in selects one of three script types, and if you don't pass anything? the default type is example. periodt. π
π OPTIONS π
exampleβ creates a cmake script for several simple applications. every C file and cpp file chillin' in the current directory that has amain()function in it gets compiled and linked as its own separate executable. one main per executable, like each one is the main character of its own movie β¨demoβ creates a cmake script for a single application. all the C and cpp files in the current directory get compiled and linked together into one executable. everyone's in the group chat now π«Άtestβ creates a cmake script that's suited for the testsuite the CGAL developers actually use. lowkey iconic of them to share π₯
heads up bestie: if you don't give it any argument at all, it defaults to example. don't come for me, that's just what it does π
π AUTHOR π
the CGAL project (https://www.cgal.org/). legends, honestly π
π REPORTING BUGS π
found a bug? report it to <cgal-discuss@inria.fr> (and see https://www.cgal.org/ for further instructions). pls be nice, they're doing their best π
π SEE ALSO π
the full documentation for CGAL is available at https://www.cgal.org/ in PDF and HTML format. go read it, it's giving study date energy πβ¨
β and that's the whole page!! this cutie was brought to you by CGAL 6.2.1, dated September 2026 β CGAL_CREATE_CMAKE_SCRIPT(1) fr fr, slay, bye bestie!! π
ππ§
π¦ where this page comes from
- arch rolling: cgal 6.2.1-1 Β· GPL-3.0-or-later AND LGPL-3.0-or-later
- nixpkgs unstable: cgal 6.2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms