Skip to content

Commit

Permalink
Merge pull request #1388 from marek22k/readme-building
Browse files Browse the repository at this point in the history
README: Add build instructions
  • Loading branch information
nfi authored Jan 10, 2024
2 parents eb4df2d + 798dd4d commit 4c194eb
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 4c194eb

Please sign in to comment.