Advertisement
Guest User

Untitled

a guest
Nov 13th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.49 KB | None | 0 0
  1. @echo off
  2.  
  3. for /R %%G in (*.cpp) do (
  4.     echo Building %%~dpnG.cpp
  5.     echo,
  6.     C:\frc\bin\arm-frc-linux-gnueabi-g++ -std=c++1y "-I%USERDIR%\wpilib\cpp\current\include" "-I%USERDIR%\wpilib\user\cpp\include" -O0 -Og -g3 -Wall -c -fmessage-length=0 %%~dpnG.cpp -o %%~dpnG.o
  7.     echo Linking %%~dpnG.o
  8.     echo,
  9.     C:\frc\bin\arm-frc-linux-gnueabi-g++ "-L%USERDIR%\wpilib/cpp/current/lib" "-L%USERDIR%\wpilib/user/cpp/lib" -Wl,-rpath,/opt/GenICam_v3_0_NI/bin/Linux32_ARM -o FRCUserProgram %%~dpnG.o -lwpi
  10.  
  11. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement