<commit_before>@echo off
REM This batch permit to create all dsp project or vcproj project for
REM Visual C++ 2003 or 2005
REM use : project [VC7 / VC8 / vc9 / clean]
REM default visual project depends on the environment variable QMAKESPEC 

@if not "%QMAKEPATH%" == ""  goto params
set QMAKEPATH=%CD%\tools\qt4win
set QTDIR=%CD%\tools\qt4win
set PATH=%QMAKEPATH%\bin;%PATH%


:params
if "%1" == "VC7" goto vc7
if "%1" == "VC8" goto vc8
if "%1" == "VC9" goto vc9
if "%1" == "clean" goto clean

:console
@echo Making Makefiles
qmake -recursive
@goto end

:vc7
set QMAKESPEC=win32-msvc.net
goto common

:vc8
set QMAKESPEC=win32-msvc2005
goto common

:vc9
set QMAKESPEC=win32-msvc2008

:common
@echo on
@if "%QMAKESPEC%"=="win32-msvc.net" @echo Making Visual project 7
@if "%QMAKESPEC%"=="win32-msvc2005" @echo Making Visual project 8
@if "%QMAKESPEC%"=="win32-msvc2008" @echo Making Visual project 9
@REM cd src
@REM for /R %%i in (*.pro) do qmake "%%i"
@REM cd ..
qmake -tp vc -recursive -o Sofa.sln Sofa.pro QT_INSTALL_PREFIX="%QTDIR%"
@if "%ERRORLEVEL%"=="0" goto end
echo ERROR %ERRORLEVEL%
pause
@goto end

:clean
@echo cleaning all VC Projects
for /R %%i in (*.ncb, *.suo, Makefile, *.idb, *.pdb, *.plg, *.opt) do del "%%i"
cd src<commit_msg>r2431/sofa-dev : FIX: use different qmake command lines for VC8 and VC9 due to problems with the extensions of generated files (e.g., Sofa.sln.sln or Sofa was generated instead of Sofa.sln)<commit_after>@echo off
REM This batch permit to create all dsp project or vcproj project for
REM Visual C++ 2003 or 2005
REM use : project [VC7 / VC8 / vc9 / clean]
REM default visual project depends on the environment variable QMAKESPEC 

@if not "%QMAKEPATH%" == ""  goto params
set QMAKEPATH=%CD%\tools\qt4win
set QTDIR=%CD%\tools\qt4win
set PATH=%QMAKEPATH%\bin;%PATH%

:params
if "%1" == "VC7" goto vc7
if "%1" == "VC8" goto vc8
if "%1" == "VC9" goto vc9
if "%1" == "clean" goto clean

:console
@echo on
@echo Making Makefiles
qmake -recursive
@goto end

:vc7
set QMAKESPEC=win32-msvc.net
@echo on
@echo Making Visual project 7
qmake -tp vc -recursive -o Sofa QT_INSTALL_PREFIX="%QTDIR%"
goto common

:vc8
set QMAKESPEC=win32-msvc2005
@echo on
@echo Making Visual project 8
qmake -tp vc -recursive -o Sofa QT_INSTALL_PREFIX="%QTDIR%"
goto common

:vc9
set QMAKESPEC=win32-msvc2008
@echo on
@echo Making Visual project 9
qmake -tp vc -recursive -o Sofa.sln Sofa.pro QT_INSTALL_PREFIX="%QTDIR%"
goto common

:common
@if "%ERRORLEVEL%"=="0" goto end
echo ERROR %ERRORLEVEL%
pause
@goto end

:clean
@echo cleaning all VC Projects
for /R %%i in (*.ncb, *.suo, Makefile, *.idb, *.pdb, *.plg, *.opt) do del "%%i"
cd src
{'fraction_non_alphanumeric': 0.13267998492272898, 'fraction_numerical': 0.04070863173765549, 'mean_word_length': 4.517671517671518, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4062007', 'n_tokens_mistral': 1154, 'n_tokens_neox': 1005, 'n_words': 367}