Skip to content

Commit

Permalink
README: Add build instructions
Browse files Browse the repository at this point in the history
In addition to #1387

Signed-off-by: Marek Küthe <m.k@mk16.de>
  • Loading branch information
marek22k committed Jan 8, 2024
1 parent be76fec commit 798dd4d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,23 @@

Cooja is an open source network simulator.


## MSPSim support for the Cooja Simulator

MSPSim is a Java-based instruction level emulator of the MSP430 series
microprocessor and emulation of some sensor networking platforms. It is used
by Cooja to emulate MSP430 based platforms and is part of the Cooja
source code.

## Building

To build Cooja, you can run `./gradlew build`. Cooja is then provided in `build/libs/cooja.jar` as a JAR file. The dependencies are located in `build/libs/lib`.

To build Cooja easily executable and with all dependencies, you can use the following command:
```
./gradlew distTar
```
or
```
./gradlew distZip
```
This command creates a compressed folder in `build/distributions/` which contains both the JAR file and a platform-independent script for execution.

0 comments on commit 798dd4d

Please sign in to comment.