Call a foreign-language function: Difference between revisions

→‎{{header|CMake}}: Link is dead. Change it to man7
(→‎{{header|CMake}}: Link is dead. Change it to man7)
Line 245:
 
=={{header|CMake}}==
This example defines CMake command div() to call [http://computeman7.cnr.berkeley.eduorg/cgi-binlinux/man-cgi?pages/man3/div.3.html C function div()]. Only works in a project, not in a <code>cmake -P</code> script. Uses more than 20 lines of CMake and 50 lines of C.
 
'''CMakeLists.txt'''
Anonymous user