[Kst] branches/work/kst/portto4/kst/cmake/modules

Peter Kümmel syntheticpp at gmx.net
Tue Jan 18 11:26:03 CET 2011


SVN commit 1215331 by kuemmel:

mingw: no rm on Windows

 M  +1 -1      KstPchSupport.cmake  


--- branches/work/kst/portto4/kst/cmake/modules/KstPchSupport.cmake #1215330:1215331
@@ -57,7 +57,7 @@
 		
 		# now build the pch with the compiler arguments 
 		add_custom_command(OUTPUT ${_gch_filename}
-			COMMAND rm -f ${_gch_filename}
+			COMMAND ${CMAKE_COMMAND} -E remove ${_gch_filename}
 			COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1} ${_args}
 			DEPENDS ${_header})
 			


More information about the Kst mailing list