3 REM Find absolute path to ROOT_DIR
4 @SET PARENT_DIR=%~dp0..
10 @SET SRC_DIR=%ROOT_DIR%\sources
13 call %SRC_DIR%\msvc10_env.bat
14 mkdir %ROOT_DIR%\build-eclipse
15 cd %ROOT_DIR%\build-eclipse
18 @SET CMAKE_ARGS=-G ^"Eclipse CDT4 - NMake Makefiles^"
19 @SET CMAKE_ARGS=%CMAKE_ARGS% -D_ECLIPSE_VERSION=4.3
20 @SET CMAKE_ARGS=%CMAKE_ARGS% -DCMAKE_BUILD_TYPE=Debug
21 @SET CMAKE_ARGS=%CMAKE_ARGS% -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=ON
22 @SET CMAKE_ARGS=%CMAKE_ARGS% -DCMAKE_INSTALL_PREFIX:PATH=%ROOT_DIR%\install
23 @SET CMAKE_ARGS=%CMAKE_ARGS% -DPYTHON_EXECUTABLE=%PYTHONHOME%\python_d.exe
24 @SET CMAKE_ARGS=%CMAKE_ARGS% %SRC_DIR%
28 @REM Should be defined at ..\local_env.bat