Home » Developing U++ » U++ Developers corner » Quick and dirty solution to .icpp problem...
Re: Quick and dirty solution to .icpp problem... [message #12647 is a reply to message #12410] |
Mon, 12 November 2007 10:08   |
 |
mirek
Messages: 14257 Registered: November 2005
|
Ultimate Member |
|
|
sergei wrote on Sat, 27 October 2007 21:55 | Update: fixed icpps, Chameleon works, size went up - 2.0MB, got no clue why...
I'm attaching what I'm using, and a demo (UWord) project, maybe someone could guess what's up with the EXE size.
Instructions (MSVC):
0) Extract files into uppsrc folder, and add it to compiler's include path.
1) Create an empty lib project.
2) Add all files in UppLib folder to project (VS UI might become unresponsive for a while, just wait).
3) Change code generation to multi-threaded debug in debug, multi-threaded in release.
4) In release, set optimizations to custom, and add to compiler command line: /GS- /Ob2 /Gs /GF /Gy /Oi /Ot /Oy
5) Build library and copy to MSVC's lib directory.
6) Create a Win32 empty GUI project for UWord.
7) Add UWord.cpp, UppBase.cpp, UppBase.h from UWord folder to project.
Repeat 3 and 4 for this project.
9) Add winmm.lib mpr.lib to linker, and also debug and release libs to debug and release respectively.
10) Build, examine EXE size and program functionality.
|
Thanks.
Mirek
|
|
|
 |
|
Quick and dirty solution to .icpp problem...
By: mirek on Sun, 09 September 2007 23:55
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: Novo on Mon, 10 September 2007 19:44
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: mirek on Mon, 10 September 2007 19:50
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: Novo on Mon, 10 September 2007 19:53
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: mirek on Thu, 20 September 2007 14:59
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: mirek on Mon, 22 October 2007 17:43
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: sergei on Wed, 24 October 2007 14:42
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: mirek on Wed, 24 October 2007 15:11
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: sergei on Sat, 27 October 2007 18:04
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: mirek on Sat, 27 October 2007 18:27
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: sergei on Sat, 27 October 2007 19:04
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: mirek on Sat, 27 October 2007 19:33
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: sergei on Sat, 27 October 2007 21:53
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: sergei on Sun, 28 October 2007 02:55
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: okigan on Mon, 12 November 2007 07:15
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: mirek on Mon, 12 November 2007 10:08
|
 |
|
Re: Quick and dirty solution to .icpp problem...
By: Novo on Mon, 10 September 2007 20:01
|
Goto Forum:
Current Time: Sun May 11 22:58:02 CEST 2025
Total time taken to generate the page: 0.02852 seconds
|