Using c-kernel#
Note
Under construction
Adding options in magic comments#
The following options can be specified in a //%
magic comment within a code cell:
Option |
Meaning |
Example |
---|---|---|
|
set the C compiler |
|
|
set the C++ compiler |
|
|
add C compilation flags |
|
|
add C++ compilation flags |
|
|
add linker flags |
|
|
add .o dependencies, separated by spaces |
|
|
extra output from the kernel |
|
|
command-line arguments to the executable |
|
|
save and don’t compile the code cell |
|
|
save and compile, but don’t execute the code cell |