Build/Windows
Jump to navigation
Jump to search
- do the entire "Post Install" folder
- when installing VS Community:
- under "workloads"
- dotnet
- desktop
- then under "individual"
- dotnet 3.5
- SDK 19041 (required to link OleAut32 under Qt6)
- C++ ATL for v141, 142 build tools (not with spectre mitigations)
- C++ MFC for v141, 142 build tools (not with spectre mitigations)
- Windows 10 SDK (10.0.22000.0) or later (for C++17)
- under "workloads"
- prefer "download then install"
- on ARM you will need to install debugging libs, see this article, see the zip file
- you will need to install the extension "Microsoft Visual Studio Installer Projects" for the version of VS that you have (currently 2019)
- when installing VS Community:
- when building, you may need to ensure all projects target dotnet 3.5, and that the package assemblies come out of davec/.nuget/packages and not the system paths. note the json library should be v11, NOT v12 as indicated by PaddleSDK
- build the XPlat debug Lite and Pro versions on mac
- run them each (this will export the windows Menu resources)
- go get the latest CrashRpt
- unzip it to a folder called "CrashRpt" under "depot/kJams/External/
- create the solution file with CMake
- build both debug and release
- in MSDev, go to "Solution Explorer", right click on "kJams", pick "properties". Set "configuration" to "all configurations", go to "configuration properties"->"Debugging",set "command" to:
$(SolutionDir)build\kJams $(ConfigurationName).app\Contents\Windows\$(TargetFileName)
for CFTest, the same command is:$(SolutionDir)build\$(TargetName).app\Contents\Windows\$(TargetFileName)
- in MSDev, go to "Property Pages", then pick "Configuration: All Configurations", then go to "Configuration Properties->Linker->Command Line" and add this:
/DYNAMICBASE /ignore:4099
- install parallels, get that going
- install Perforce, and when creating a workspace, set your linefeeds to "unix"
- change the names of the User Files
- if IncrediBuild isn't using all cores, to to tray icon->agent settings->VS Builds->Advanced->PDB File Alloc: shut off the limiter
- create the build-script.app
- if the Z drive is a network drive, you'll also need to do this, and this