text stringlengths 0 834k |
|---|
219477,d2eec801f61a57244189e36fb06b2391473e2ef4,2094,bat,Batchfile,win_cmake_vs2008.bat,antont/tundra,5c9b0a3957071f08ab425dff701cdbb34f9e1868,['Apache-2.0'],,,,win_cmake_vs2008.bat,antont/tundra,5c9b0a3957071f08ab425dff701cdbb34f9e1868,['Apache-2.0'],,,,win_cmake_vs2008.bat,antont/tundra,5c9b0a3957071f08ab425dff701cdbb34f9e1868,['Apache-2.0'],,,,"@echo off |
echo. |
:: This batch script will determine TUNDRA_DEP_PATH and run cmake for Visual Studio 2008 |
:: 1. If TUNDRA_DEP_PATH is defined on the system, it will proceed with your dep path. |
:: 2. If TUNDRA_DEP_PATH is not defined it will check if the deps git submodule has been fetched. |
:: - If deps are present set TUNDRA_DEP_PATH to point into that and run cmake. |
:: - If deps are not present prints insructions how to automatically fetch them. |
:: |
:: Note: The suggested way of going about this is using the win_update_deps_vs2008.bat |
:: This is because it will also copy all the needed DLLs into the /bin folder so you wont have |
:: to do this manually. You can always run this .bat again to update the dependencies if changes |
:: has happened in the git submodule. Be in contact if you have problems with this work flow. |
:check_tundra_dep_path |
echo Checking for TUNDRA_DEP_PATH on the system |
if NOT DEFINED TUNDRA_DEP_PATH ( |
echo -- Not found |
goto :check_submodule_vs2008_deps |
) else ( |
echo -- Found |
goto :set_env_variables |
) |
:check_submodule_vs2008_deps |
echo Checking git submodule deps/vs2008 for dependecies |
if exist ""deps\vs2008\README"" ( |
echo -- Found |
SET TUNDRA_DEP_PATH=%CD%\deps\vs2008\build_deps |
goto :set_env_variables |
) else ( |
echo -- Not Found |
echo Could not find 'deps\vs2008\README', assuming git submodule has not been fetched yet. |
echo Please run win_update_deps_vs2008.bat to fetch the dependencies! |
echo. |
echo If you would prefer getting dependencies manually with git, do a git clone from |
echo https://code.google.com/p/realxtend-tundra-deps/ remember to checkout the prebuild-vs2008 branch. |
echo Next set TUNDRA_DEP_PATH to point at your <clone_path>\build_deps and run this script again. |
goto :end |
) |
:set_env_variables |
SET QTDIR=%TUNDRA_DEP_PATH%\Qt |
SET QMAKESPEC=%QTDIR%\mkspecs\win32-msvc2008 |
echo. |
goto :run_cmake |
:run_cmake |
cmake.exe -G ""Visual Studio 9 2008"" |
::cmake.exe -G ""Visual Studio 9 2008"" -DUPDATE_LANGUAGE_TRANSLATIONS:BOOL=TRUE |
goto :end |
:end |
echo. |
pause |
",37.3928571429,109,0.7526265521 |
219478,d2eef2e73bdeb8d83c688673f5428eb974027068,61,bat,Batchfile,tools/build/binary-release/Windows/scripts/set-env.bat,casaca24/rakudo,38626c6860f0d400500bd83bac3552846b81157e,['Artistic-2.0'],1.0,2021-07-16T04:47:02.000Z,2021-07-16T04:47:02.000Z,tools/build/binary-release/Windows/scripts/set-env.bat,casaca24/rakudo,38626c6860f0d400500bd83bac3552846b81157e,['Artistic-2.0'],,,,tools/build/binary-release/Windows/scripts/set-env.bat,casaca24/rakudo,38626c6860f0d400500bd83bac3552846b81157e,['Artistic-2.0'],,,,"@SET ""PATH=%~dp0..\bin;%~dp0..\share\perl6\site\bin;%PATH%"" |
",20.3333333333,59,0.606557377 |
219479,d2ef004a49b6f945915326618a529970689c40bb,73,bat,Batchfile,src/createallprojects.bat,Xen-alpha/UltraFortress,3c2e0cbb5c6d1efe362619cd3fb94bac9067f913,['Unlicense'],127.0,2015-01-07T02:28:55.000Z,2022-03-29T21:30:32.000Z,src/createallprojects.bat,Xen-alpha/UltraFortress,3c2e0cbb5c6d1efe362619cd3fb94bac9067f913,['Unlicense'],155.0,2015-01-09T12:54:20.000Z,2022-03-14T21:11:11.000Z,src/createallprojects.bat,Xen-alpha/UltraFortress,3c2e0cbb5c6d1efe362619cd3fb94bac9067f913,['Unlicense'],106.0,2015-01-07T03:38:13.000Z,2022-03-19T22:42:19.000Z,"devtools\bin\vpc.exe /tf2classic /2013 +everything /mksln everything.sln |
",36.5,72,0.8082191781 |
219480,d2ef0584dcc6e5cc033f7bd585438fb902bc8ee5,826,bat,Batchfile,utils/compile.bat,ddudek/BlueMicro_BLE,3a6aa49f3cb8e0830a41ffaab1aed19c0817e7f5,['BSD-3-Clause'],293.0,2018-06-11T16:25:30.000Z,2022-03-31T23:05:32.000Z,utils/compile.bat,ddudek/BlueMicro_BLE,3a6aa49f3cb8e0830a41ffaab1aed19c0817e7f5,['BSD-3-Clause'],124.0,2018-10-03T18:48:29.000Z,2022-03-13T16:23:49.000Z,utils/compile.bat,harshitgoel96/BlueMicro_BLE,c6edd3f3abba31d4448e02ae94128a1a20aff5c5,['BSD-3-Clause'],151.0,2018-06-11T23:59:08.000Z,2022-03-20T01:01:36.000Z,"@echo off |
SET TARGET='%~dp0..\arduino-cli' |
SET EXE=""%~dp0..\arduino-cli\arduino-cli.exe"" |
SET buildPath=""%~dp0..\.build"" |
SET buildCachePath=""%~dp0..build-cache"" |
SET sourcePath=""%~dp0..\firmware"" |
SET verbose = ""-v"" |
IF ""%1%""==""nrf52832"" ( |
SET fqbn=""feather52832"" |
) |
IF ""%1%""==""pca10056"" ( |
SET fqbn=""pca10056"" |
) |
IF ""%1%""==""feather52840"" ( |
SET fqbn=""feather52840"" |
) |
IF NOT DEFINED fqbn ( |
ECHO ERROR FQBN not set. |
GOTO :options |
) |
IF EXIST %EXE% ( |
%EXE% compile --fqbn adafruit:nrf52:%fqbn% --build-path %buildPath% --build-cache-path %buildCachePath% %sourcePath%/firmware.ino --output-dir %buildPath%/firmware |
) ELSE ( |
ECHO arduino-cli not found. Run install.bat first |
) |
GOTO :end |
:options |
ECHO Usage: |
ECHO compile.bat fqbn |
ECHO fqbn options: nrf52832, pca10056, feather52840 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.