Create pkglist_filter.bat (for MSVC) + fix its content to make it silent

Some messages were polluting the output of the filter.
Approved by the Release Manager
This commit is contained in:
Clement Jamin 2013-09-05 14:10:29 +02:00
parent cfad121d1a
commit 9384588dda
2 changed files with 7 additions and 6 deletions

View File

@ -115,6 +115,7 @@ if(DOXYGEN_FOUND)
# directory.
if(WIN32)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pkglist_filter.bat ${CMAKE_BINARY_DIR}/pkglist_filter)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pkglist_filter.bat ${CMAKE_BINARY_DIR}/pkglist_filter.bat)
else()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pkglist_filter ${CMAKE_BINARY_DIR}/pkglist_filter)
endif()

View File

@ -1,18 +1,18 @@
@echo off
@where python
@where /q python
if not errorlevel 1 ( set python=python )
@where python2
@where /q python2
if not errorlevel 1 ( set python=python2 )
@where python2.6
@where /q python2.6
if not errorlevel 1 ( set python=python2.6 )
@where python2.7
@where /q python2.7
if not errorlevel 1 ( set python=python2.7 )
@echo on
:go
%python% ${CMAKE_BINARY_DIR}/pkglist_filter.py %1
@echo on