PropWare
C++ objects and CMake build system for Parallax Propeller
|
Ensure PropWare is installed on your system prior to using an IDE.
File
-> Settings...
Build, Execution, Deployment
-> Toolchains
CMake Executable
, choose "Use specified:" and then select /usr/bin/cmake
for Linux or C:\PropWare\PWCMake\bin\cmake.exe
for Windows.File
-> Open...
. Navigate to your CMakeLists.txt file and press Ok
.Eclipse IDE for C/C++ Developers
here and download the appropriate packagecmake -G "Eclipse CDT4 - Unix Makefiles" .
. Notice that this time, we're adding a hook to tell CMake that we're using Eclipse. If you prefer another IDE, check the CMake Wiki to see if it is supported.File
menu, select Import...
.General
group should be an option Existing Projects into Workspace
- select that option and choose Next >
.Select root directory:
is selected at the top and then click Browse...
. Find the parent folder of your project (for example, if your project is C:\Users\David\Hello
, then choose C:\Users\David
).Finish
. Compile flags, include directories and required source files will all be ready to go.Control-B
. Writing to EEPROM requires creating a new Run Configuration.debug
configuration. PropGCC's terminal does not play well with either Eclipse or JetBrains CLion. Use the terminal for debugging, exactly as described in "Starting a New Project" step 4.