-
Notifications
You must be signed in to change notification settings - Fork 0
BasicCommands
MrKleeblatt edited this page Oct 8, 2022
·
3 revisions
initiates a new project with the following structure:
project_root/
├── compile_commands.json
├── .idea/
│ ├── customTargets.xml
│ ├── runConfigurations/
│ │ └── NAME.xml
│ └── tools/
│ └── External Tools.xml
├── kleebuild.json
└── src/
├── include/
└── main.c
where NAME
is the executable name specified in kleebuild.json
.
creates a new build
directory (if not already existing), places all compiled object files in it and compiles them to an executable (name
) specified in TARGET.
deletes everything in build
directory
runs the compiled executable with a priority of 20 (lowest on linux) so that even an infinite loop can not make your computer freeze. You will always be able to stop the program through CLion. I have no idea how to make this build tool work with CLion Debugger, but eventually I will work on that.