Apollo Wiki
  • Welcome!
  • VEX CAD
    • What is CAD?
    • Software
      • Autodesk Inventor
  • Code
    • Code!
    • PROS
      • Installation
      • Creating a PROS Project
      • The File Structure
        • .d
        • .vscode
        • src
        • include
        • project.pros
Powered by GitBook
On this page
  1. Code
  2. PROS

The File Structure

Since PROS uses the C++ language, it follows C++'s suggested project structure:

project_name/
├── CMakeLists.txt
├── include/
│ ├── project_name/ 
│ │ ├── header1.h 
│ │ └── header2.h
│ └── other_headers/
│ ├── header3.h
│ └── header4.h
├── src/
│ ├── main.cpp
│ └── other_source_files.cpp
├── test/
│ ├── test1.cpp
│ └── test2.cpp
└── README.md

The PROS Project File structure is similar to the above but has some additions:

project_name/
├── .d/
├── .vscode/
├── bin/
├── firmware/
├── include/
│ ├── libvgl/ 
│ ├── okapi/ 
│ ├── pros/ 
│ ├── api.h
│ └── main.h
├── src/
│ └── main.cpp
├── .gitignore
├── common.mk
├── compille_commands.json
├── Makefile
└── project.pros

Most folders and files are left untouched but others can be edited by the user for basic project settings.

The following pages go into more detail about what each of these folders and files do, as well as how to use them!

Last updated 1 year ago