-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefileWindows
More file actions
21 lines (16 loc) · 918 Bytes
/
MakefileWindows
File metadata and controls
21 lines (16 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.PHONY: default test clean doc deploy
default:
if not exist "build\bin" mkdir build\bin
call "%windows10_x64_BUILD_TOOLS_ROOT%\\VC\\Auxiliary\\Build\\vcvarsall.bat" x64 && cd build\\bin &&cl ..\\..\\src\\sbet-decoder.cpp ..\\..\\src\\SbetProcessor.cpp /EHsc /Fesbet-decoder.exe
call "%windows10_x64_BUILD_TOOLS_ROOT%\\VC\\Auxiliary\\Build\\vcvarsall.bat" x64 && cd build\\bin &&cl ..\\..\\src\\accuracy-decoder.cpp /EHsc /Feaccuracy-decoder.exe
test: clean default
if not exist "build\test\reports" mkdir build\test\reports
call "%windows10_x64_BUILD_TOOLS_ROOT%\\VC\\Auxiliary\\Build\\vcvarsall.bat" x64 && cd build\\test &&cl ..\\..\\test\\CatchMain.cpp /EHsc /DCATCH_CONFIG_NO_POSIX_SIGNALS /Fetests.exe
build\test\tests.exe -r junit -o build\\test\\reports\\sbet-test-windows-x64-reports.xml
clean:
if exist "build" rmdir /q /s build
doc:
rm -rf build/doxygen
mkdir -p build/doxygen
doxygen
deploy: