Issue #188 - Add some user config items
This commit is contained in:
parent
09fa036b31
commit
47df5fddbc
|
@ -70,6 +70,17 @@ add_definitions ( -DSUPPORT_ASIAN_ENCODINGS=1 )
|
||||||
add_definitions ( -DSUPPORT_ACCESSIBILITY_CHECKS=1 )
|
add_definitions ( -DSUPPORT_ACCESSIBILITY_CHECKS=1 )
|
||||||
add_definitions ( -DLIBTIDY_VERSION="${LIBTIDY_VERSION}" )
|
add_definitions ( -DLIBTIDY_VERSION="${LIBTIDY_VERSION}" )
|
||||||
|
|
||||||
|
# Issue #188 - Support user items in platform.h
|
||||||
|
if (TIDY_CONFIG_FILE)
|
||||||
|
add_definitions( -DTIDY_CONFIG_FILE="${TIDY_CONFIG_FILE}" )
|
||||||
|
endif ()
|
||||||
|
if (TIDY_USER_CONFIG_FILE)
|
||||||
|
add_definitions( -DTIDY_USER_CONFIG_FILE="${TIDY_USER_CONFIG_FILE}" )
|
||||||
|
endif ()
|
||||||
|
if (SUPPORT_GETPWNAM)
|
||||||
|
add_definitions( -DSUPPORT_GETPWNAM=1 )
|
||||||
|
endif ()
|
||||||
|
|
||||||
if(BUILD_SHARED_LIB)
|
if(BUILD_SHARED_LIB)
|
||||||
set(LIB_TYPE SHARED)
|
set(LIB_TYPE SHARED)
|
||||||
message("*** Building DLL library ${LIB_TYPE}, version ${LIBTIDY_VERSION}")
|
message("*** Building DLL library ${LIB_TYPE}, version ${LIBTIDY_VERSION}")
|
||||||
|
|
|
@ -41,6 +41,8 @@
|
||||||
@REM set TMPINST=F:\Projects\software.x64
|
@REM set TMPINST=F:\Projects\software.x64
|
||||||
@set TMPOPTS=-DCMAKE_INSTALL_PREFIX=%TMPINST%
|
@set TMPOPTS=-DCMAKE_INSTALL_PREFIX=%TMPINST%
|
||||||
@set TMPOPTS=%TMPOPTS% -G "Visual Studio 10 Win64"
|
@set TMPOPTS=%TMPOPTS% -G "Visual Studio 10 Win64"
|
||||||
|
@REM set TMPOPTS=%TMPOPTS% -DTIDY_CONFIG_FILE="C:\MDOS\tidy5.cfg"
|
||||||
|
@REM set TMPOPTS=%TMPOPTS% -DTIDY_USER_CONFIG_FILE="C:\MDOS\tidy5.cfg"
|
||||||
|
|
||||||
:RPT
|
:RPT
|
||||||
@if "%~1x" == "x" goto GOTCMD
|
@if "%~1x" == "x" goto GOTCMD
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
4.9.21
|
4.9.22
|
Loading…
Reference in a new issue