Mercurial > projects > qtd
view build/rm.d @ 23:907d517d37c6
CMake: Set Release configuration as default.
CMake: Strip examples on linux (on windows now disabled).
CMake: Install opengl32.lib and glu32.lib on windows.
author | SokoL_SD |
---|---|
date | Fri, 15 May 2009 11:28:39 +0000 |
parents | e78566595089 |
children |
line wrap: on
line source
import tango.io.FilePath; import tango.io.Stdout; import tango.text.Util; void main (char[][] args) { foreach(arg; args[1..$]) { try { auto a = replace(arg,'\\','/'); auto file = new FilePath(arg); if (file.exists()) { file.remove(); Stdout.format("'{}' removed", arg).newline; } } catch { Stdout.format("Error: '{}' don`t removed", arg).newline; } } }