text stringlengths 0 834k |
|---|
REM |
REM SPDX-License-Identifier: Apache-2.0 OR MIT |
setlocal enabledelayedexpansion |
:: TAB equals 4 spaces |
set TAB= |
:: Directory in which this batch file lives |
set CURRENT_DIRECTORY=%~dp0 |
:: Destination file we're writing too |
set OUTPUT_FILE=multiplayersample_asset_files.cmake |
:: Write copyright header to top of file |
echo # > %OUTPUT_FILE% |
echo # Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. >> %OUTPUT_FILE% |
echo # >> %OUTPUT_FILE% |
echo # SPDX-License-Identifier: Apache-2.0 OR MIT >> %OUTPUT_FILE% |
echo # >> %OUTPUT_FILE% |
echo.>> %OUTPUT_FILE% |
:: .cmake file first line should be ""set(FILES"" |
echo set(FILES>> %OUTPUT_FILE% |
:: Here we append the list of files |
( |
:: Recursive for loop for every file in directory and subdirectories |
for /R %%f in (*.*) do ( |
:: Get full file path and name |
set filePath=%%f |
:: Remove the current directory from the file path. This gives us the local path |
set relativeFilePath=!filePath:%CURRENT_DIRECTORY%=! |
:: Turns ""\my\asset\folder"" into ""/my/asset/folder"" for cmake |
set relativeFilePath=!relativeFilePath:\=/! |
:: Filter only relevant file types |
if !relativeFilePath:~-5! == .pass echo %TAB%!relativeFilePath! |
if !relativeFilePath:~-5! == .azsl echo %TAB%!relativeFilePath! |
if !relativeFilePath:~-6! == .azsli echo %TAB%!relativeFilePath! |
if !relativeFilePath:~-7! == .shader echo %TAB%!relativeFilePath! |
if !relativeFilePath:~-13! == .materialtype echo %TAB%!relativeFilePath! |
) |
) >> %OUTPUT_FILE% |
@echo ) >> %OUTPUT_FILE%",37.5882352941,179,0.6817944705 |
219652,f305f3d1409ee3a186b96cad422fb1648dbcdf8f,53,bat,Batchfile,test/ut2.bat,Nadahar/lizzy,b15da5b1c2be171f58fc27434727e77c42640be9,['BSD-2-Clause'],,,,test/ut2.bat,Nadahar/lizzy,b15da5b1c2be171f58fc27434727e77c42640be9,['BSD-2-Clause'],,,,test/ut2.bat,Nadahar/lizzy,b15da5b1c2be171f58fc27434727e77c42640be9,['BSD-2-Clause'],,,,"@echo off |
for %%f in (samples\*.*) do call ut1 %%f |
",17.6666666667,41,0.5660377358 |
219653,f30647f0c57e80ea2bd4d96ec94ba6c434f540c6,48575,bat,Batchfile,xampp2/perl/bin/pkg-config.bat,matheusfbio/Wordpress,320e399c318bdb627a086a63b67e427531fb87cb,['MIT'],1.0,2022-01-06T14:18:54.000Z,2022-01-06T14:18:54.000Z,xampp2/perl/bin/pkg-config.bat,matheusfbio/Wordpress,320e399c318bdb627a086a63b67e427531fb87cb,['MIT'],,,,xampp2/perl/bin/pkg-config.bat,matheusfbio/Wordpress,320e399c318bdb627a086a63b67e427531fb87cb,['MIT'],,,,"@rem = '--*-Perl-*-- |
@set ""ErrorLevel="" |
@if ""%OS%"" == ""Windows_NT"" @goto WinNT |
@perl -x -S ""%0"" %1 %2 %3 %4 %5 %6 %7 %8 %9 |
@set ErrorLevel=%ErrorLevel% |
@goto endofperl |
:WinNT |
@perl -x -S %0 %* |
@set ErrorLevel=%ErrorLevel% |
@if NOT ""%COMSPEC%"" == ""%SystemRoot%\system32\cmd.exe"" @goto endofperl |
@if %ErrorLevel% == 9009 @echo You do not have Perl in your PATH. |
@goto endofperl |
@rem '; |
#!/usr/bin/perl |
#line 30 |
# lightweight no-dependency version of pkg-config. This will work on any machine |
# with Perl installed. |
# Copyright (C) 2012 M. Nunberg. |
# You may use and distribute this software under the same terms and conditions |
# as Perl itself. |
package |
PkgConfig::Vars; |
# this is a namespace for .pc files to hold their variables without |
# relying on lexical scope. |
package |
PkgConfig::UDefs; |
# This namespace provides user-defined variables which are to override any |
# declarations within the .pc file itself. |
package PkgConfig; |
#First two digits are Perl version, second two are pkg-config version |
our $VERSION = '0.25026'; |
$VERSION =~ /([0-9]{2})$/; |
my $compat_version = $1; |
use strict; |
use warnings; |
use 5.006; |
use Config; |
use File::Spec; |
use File::Glob 'bsd_glob'; |
use Class::Struct; #in core since 5.004 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.