Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 737 Bytes

Windows.md

File metadata and controls

27 lines (19 loc) · 737 Bytes

Environement Setup

To use this library on windows, you need to install mingw from here.
After you installed, please open "mingw64.exe" (don't use "msys2.exe") and execute the following commands:

pacman -Syu # update pacman itself
pacman -Syu # update other packages
pacman -S mingw-w64-x86_64-gcc cmake make

To use this library, just include the header files, for example:

g++ -Wall -Wextra --std=c++14 -O3 -g -Ilive-profiler/include Main.cpp

Notice: Some collector only works on linux, consider use ifdef when you're writing a cross platform profiler.

Run tests

The commands for running tests are same as linux:

cd tests
sh run_tests.sh