mirror of https://github.com/CGAL/cgal
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:
parent
cfad121d1a
commit
9384588dda
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue