https://github.com/OpenVicProject/OpenVic-Simulation
https://github.com/OpenVicProject/OpenVic-Simulation
game game-development gamedev openvic victoria-2 victoria2
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/OpenVicProject/OpenVic-Simulation
- Owner: OpenVicProject
- License: gpl-3.0
- Created: 2023-05-01T00:35:23.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-07-05T15:47:01.000Z (4 months ago)
- Last Synced: 2025-07-05T16:10:08.297Z (4 months ago)
- Topics: game, game-development, gamedev, openvic, victoria-2, victoria2
- Language: C++
- Homepage:
- Size: 2.67 MB
- Stars: 6
- Watchers: 3
- Forks: 8
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://github.com/OpenVicProject/OpenVic-Simulation/actions/workflows/builds.yml)
# OpenVic-Simulation
Repo of the OpenVic-Simulation Library for [OpenVic](https://github.com/OpenVicProject/OpenVic)
## Quickstart Guide
For detailed instructions, view the OpenVic Contributor Quickstart Guide [here](https://github.com/OpenVicProject/OpenVic/blob/master/docs/contribution-quickstart-guide.md)
## Required
* [scons](https://scons.org/)
## Build Instructions
1. Install [scons](https://scons.org/) for your system.
2. Run the command `git submodule update --init --recursive` to retrieve all related submodules.
3. Run `scons` in the project root, you should see a openvic-simulation.headless file in `bin`.
## Link Instructions
1. Call `ovsim_env = SConscript("openvic-simulation/SConstruct")`
2. Use the values stored in the `ovsim_env.openvic_simulation` to link and compile against:
| Variable Name | Description | Correlated ENV variable |
| --- | --- | --- |
| `LIBPATH` | Library path list | `env["LIBPATH"]` |
| `LIBS` | Library files names in the library paths | `env["LIBS"]` |
| `INCPATH` | Library include files | `env["CPPPATH"]` |