Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build script #11

Merged
merged 1 commit into from
Dec 1, 2024
Merged

Add build script #11

merged 1 commit into from
Dec 1, 2024

Conversation

t-mat
Copy link
Contributor

@t-mat t-mat commented Nov 23, 2024

Hi, thanks for this very useful utility!

This PR adds trivial build scripts for x64 and x86.

They can be invoked by the following commands:

cmd.exe
cd /d PATH\TO\NtTrace
.\scripts\build-vs-x64.bat
.\scripts\build-vs-x86.bat

You can test this PR with the following commands:

cmd.exe
cd /d "%PUBLIC%\Documents"
git clone https://github.com/rogerorr/NtTrace.git NtTrace-PR11
cd NtTrace-PR11

git pull origin pull/11/head
git log -1

.\scripts\build-vs-x64.bat
.\NtTrace.exe .\NtTrace.exe > nt-trace-x64.log

.\scripts\build-vs-x86.bat
.\NtTrace.exe .\NtTrace.exe > nt-trace-x86.log

build-vs.bat will do

- Find vswher.exe
- Setup the latest Visual C++ environment for specific target platform.
- Invoke nmake /f NtTrace.mak
@rogerorr rogerorr merged commit af46e36 into rogerorr:main Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants