forked from nifanfa/MOOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SNAKE.bfa
26 lines (21 loc) · 1.08 KB
/
SNAKE.bfa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# BFlatA verb and project to build
## these two lines must present at the start in order.
build
D:\Repos\MOOS\Snake\Snake.csproj
-h:d:\repos\moos\Snake
--target:exe
# Base lib selection:
## If there's <NoStdLib> tag in .csproj, you don't have to add this line below
--stdlib None
--libc none
# Use external linker:
## The linker comes with BFlat has some problem with MSVC libs, we'll use MSVC Linker instead.
--linker:"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\bin\Hostx64\x64\link.exe"
# Additional linker args:
## Due to bflat's arg parsing bug, spaces in path does not work, may be replaced with short filenames like below or use single quotes "'" as inner quotation.
--ldflags "/libpath:'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\lib\x64'"
## The following line is not neccessary if you want an optimized release build
--ldflags "/DEBUG"
# Prebuild actions:
# Postbuild actions:
-poa:"cmd /c Copy '$(NativeOutputPath)$(TargetName)$(NativeBinaryExt)' '$(MSBuildStartupDirectory)\..\Ramdisk\$(TargetName).mue'"