You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,7 @@ Visual Studio Code with the proper extensions only needs to open the folder and
65
65
Additionally, it configures format-on-save and a debug target for the UCP3.
66
66
67
67
If the scripts are preferred, the following triggers a build using the scripts:
68
+
68
69
1. Open a terminal.
69
70
2. Navigate to this project folder
70
71
3. Execute build.bat:
@@ -80,10 +81,11 @@ If CMake is installed and not in PATH, for example if installed via Visual Studi
80
81
81
82
Note that any code needs to be formatted properly using the provided `clang-format`. The way to do so it up to the developer. Many IDEs support it out of the box.
82
83
83
-
Should any files be added to the source code in `src/core` or the ucp files in `ucp`, the cmake script [create-include-lists.cmake](create-include-lists.cmake) needs to be rerun and the changed list files need to be committed:
84
-
```bat
85
-
.\cmakew -P create-include-lists.cmake
86
-
```
84
+
If any `.cpp` or `.c` files are added to the source code, they should be listed in one of the txt files in `cmake/`:
85
+
86
+
-`cmake/core-sources.txt` containing the core sources to compile the project.
87
+
-`cmake/pklib-sources.txt` containing the source files for compiling the pklib dependency.
88
+
-`cmake/openshc-sources.txt` containing the files with reimplementations of the original game's functions.
0 commit comments