U++ framework
Do not panic. Ask here before giving up.

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 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
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.
Cool 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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Core chat... (reference counted pointers etc.)
Next Topic: SVN plan...
Goto Forum:
  


Current Time: Sun Aug 30 16:30:54 GMT+2 2026

Total time taken to generate the page: 0.00979 seconds