We have setup CI using CMake and github actions. This document explains compilation running locally on your machine.
T3000 uses MFC, so make sure you have MFC installed within Visual Studio. If you are working with version above Visual Studio 2017, CMake comes bundled with it. If not, please install CMake
Specific instructions for Visual Studio 2019 on Windows 10 are:
- Download the Community edition of Visual Studio 2019 installer (make sure you are covered by its licence terms).
- Run the installer and select:
- Checkout T3000
- Open a Developer Command Prompt for VS (Visual Studio 2019 nomenclature, others may vary)
- Switch to the folder T3000_Building_Automation_System\build
- Run _Build.bat or Issue the commands:
- cmake -A Win32 .. -DCMAKE_TOOLCHAIN_FILE="..\vcpkg-export-openssl\scripts\buildsystems\vcpkg.cmake"
- cmake --build .
- Follow the Launching a Build instructions
- Run _Debug.bat or Issue the command:
- cmake --open .
- If the above fails this is mostly due to:
- Compilation errors in one or more CPP files
- Developer forgot to add new files to CMakeLists.txt
