-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_cmake.bat
37 lines (26 loc) · 1.02 KB
/
config_cmake.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@echo off
set OPTION=
REM ON or OFF
set OPTION=%OPTION% -DPYTHON_BUILD_EXT=OFF
REM ON or OFF
set OPTION=%OPTION% -DPYTHON_INSTALL_EXT=OFF
REM ON or OFF
set OPTION=%OPTION% -DPYTHON_BUILD_EXT_INSTALLER=OFF
REM Release or Debug
set OPTION=%OPTION% -DCMAKE_BUILD_TYPE=Release
REM ON or OFF
set OPTION=%OPTION% -DUSE_IJG_CODEC=ON
REM ON or OFF
set OPTION=%OPTION% -DUSE_OPJ_CODEC=ON
REM ON or OFF
set OPTION=%OPTION% -DUSE_IPP_CODEC=OFF
set OPTION=%OPTION% -DIPP_INCLUDE:string="c:\Program Files (x86)\Intel\ComposerXE-2011\ipp\include"
set OPTION=%OPTION% -DIPP_LIBPATH:string="c:\Program Files (x86)\Intel\ComposerXE-2011\ipp\lib\ia32"
set OPTION=%OPTION% -DIPP_SAMPLEROOT:string="C:\Lab\workspace\ipp-samples"
set OPTION=%OPTION% -DIPP_UICBINPATH:string="C:\Lab\workspace\ipp-samples\image-codecs\uic\_bin\ia32_cl9"
REM ON or OFF
set OPTION=%OPTION% -DUSE_DISPLAY_DEBUGINFO=OFF
REM ON or OFF
set OPTION=%OPTION% -DBUILD_SHARED_LIBS=OFF
echo OPTIONS ARE =%OPTION%
cmake -G"NMake Makefiles" %OPTION% .