diff --git a/README.md b/README.md index dbb02285..4116addc 100755 --- a/README.md +++ b/README.md @@ -56,53 +56,51 @@ Building: --------- Note that YOU are responsible to know how to use compilers and C++, the hints below are all the help I will give you: -All Platforms: - -- TreeSheets requires the latest development wxWidgets from their repo: - `git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git`. - Windows: -1. Make sure your `wxWidgets` folder sits parallel to the `src` folder, that way the TreeSheets project will pick it up without further modifications -2. Inside `wxWidgets/build/msw`, open `wx_vc17.sln` with Visual Studio 2022. -3. Select all projects (except the project `_custom_build`) in the solution explorer, and go to properties: +1. TreeSheets requires the latest development wxWidgets from their repo: + `git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git`. +2. Make sure your `wxWidgets` folder sits parallel to the `src` folder, that way the TreeSheets project will pick it up without further modifications +3. Inside `wxWidgets/build/msw`, open `wx_vc17.sln` with Visual Studio 2022. +4. Select all projects (except the project `_custom_build`) in the solution explorer, and go to properties: - Set configuration to debug, and C/C++ -> Code Generation -> Runtime library to Multithreaded Debug - Set configuration to release, and C/C++ -> Code Generation -> Runtime library to Multithreaded -4. Build solution in both x64 Debug and Release -5. Close the wxWidgets solution -6. `win` contains the Visual Studio 2022 files for treesheets, open the .sln. +5. Build solution in both x64 Debug and Release +6. Close the wxWidgets solution +7. `win` contains the Visual Studio 2022 files for treesheets, open the .sln. If you've done the above correctly, TreeSheets will now compile and pick up the wxWidgets libraries. -7. To distribute, build an installer with `win\TS_installer.nsi` (requires nsis.sourceforge.net) +8. To distribute, build an installer with `win\TS_installer.nsi` (requires nsis.sourceforge.net) Mac OS: - -1. Configure the build system +1. Clone this repository with git +2. Configure the build system ```sh cmake -S . -B _build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Applications ``` -2. Build +3. Build ```sh cmake --build _build -j ``` -3. Install +4. Install ```sh cmake --install _build ``` Linux: -1. Configure the build system +1. Clone this repository with git +2. Configure the build system ```sh cmake -S . -B _build -DCMAKE_BUILD_TYPE=Release ``` -2. Build +3. Build ```sh cmake --build _build -j ``` -3. Install +4. Install ```sh sudo cmake --install _build ```