Skip to content

Instantly share code, notes, and snippets.

@brunogarcia
Last active October 9, 2017 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunogarcia/915083ee215c461bf74992dc363e7dfa to your computer and use it in GitHub Desktop.
Save brunogarcia/915083ee215c461bf74992dc363e7dfa to your computer and use it in GitHub Desktop.
Codelite Configuration

Bin

  • Create bin folder
  • Go to Settings/General and update:
    • Output file: /bin/$(ProjectName)
    • Working directory: /bin
  • Test it!

Source

  • Delete main.c
  • Create source folder
  • Create a new [YOUR_PROYECT_NAME].c but selecting source folder
  • Test it!

Include

  • Create a new virtual folder called include
  • Create a new [YOUR_PROYECT_NAME].h but selecting include folder
  • Go to Settings/Compiler and update:
    • Include Paths: .;./include
  • Add the header to [YOUR_PROYECT_NAME].c
    • #include " [YOUR_PROYECT_NAME].h"
  • Test it!

More information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment