build.bat 984 B

123456789101112131415161718192021222324252627282930
  1. @echo off
  2. rem Licensed Materials - Property of IBM
  3. rem IBM Cognos Products: DOCS
  4. rem (C) Copyright IBM Corp. 2005, 2012
  5. rem US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
  6. rem IBM Corp.
  7. rem Copyright (C) 2007 Cognos ULC, an IBM Company. All rights reserved.
  8. rem Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  9. rem Build ReportParameters using the .NET Framework command-line tools.
  10. echo If you didn't run build.bat in ..\SamplesCommon, press Ctrl-C and do it now.
  11. echo.
  12. pause
  13. copy ..\SamplesCommon\SamplesCommon.dll SamplesCommon.dll
  14. copy ..\..\cognosdotnet_10_2.dll .
  15. copy ..\..\cognosdotnetassembly_10_2.dll .
  16. set ICON=/win32icon:..\SamplesCommon\SamplesApplication.ico
  17. set SOURCE=ReportParameters.cs
  18. set COGDLLS=/r:cognosdotnet_10_2.dll /r:cognosdotnetassembly_10_2.dll
  19. csc /nologo /t:winexe /out:ReportParameters.exe /r:SamplesCommon.dll %ICON% %COGDLLS% %SOURCE%
  20. echo Done.