-
Notifications
You must be signed in to change notification settings - Fork 4
Compile
mhtvsSFrpHdE edited this page Jan 26, 2023
·
8 revisions
- Go to ThirdParty folder and look at things like
*.version.txt
,
install these correspond version library to somewhere compiler can know. - Go to prefetch folder and check
README.md
,
install correspond version Qt to somewhere compiler can know. - If you want to run "collect minimal release of compiled binary" script, install correspond version python,
otherwize python is not necessary to install. - Build system depends on vscode,
download and put these vscode config to your workspace folder. - Rename c_cpp_propertiesExample.json to
c_cpp_properties.json
and modify path information inside. - Rename launchExample.json to
launch.json
and modify path information inside. - Open vscode, use build command (usually is Ctrl+Alt+B), select one of option you prefer.
Qt build all release
require python to success ("collect minimal release of compiled binary"),
or the last step will fail, but it is safe to ignore.
Find compiled binary in one of these folders:
prefetch\qpp\build-prefetch-Desktop_x86_windows_mingw4_8_2_32bit-Debug
prefetch\qpp\build-prefetch-Desktop_x86_windows_mingw4_8_2_32bit-Release
- ...
-
prefetch\qpp\Pack
("minimal release of compiled binary")
These option can either modify compile DEFINES or the file itself directly.
Disable a feature equal to delete related code, so they won't even appear in compiled EXE file,
instead of do if-else statement at runtime.
If you modified after build, you may need to delete exist build completely and rebuild.
Or the build system may not be able to detect changes.
https://github.com/mhtvsSFrpHdE/prefetch/raw/master/qpp/prefetch/Source/Define/define.h