Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Quick and dirty solution to .icpp problem...
Re: Quick and dirty solution to .icpp problem... [message #12410 is a reply to message #12406] Sun, 28 October 2007 02:55 Go to previous messageGo to previous message
sergei is currently offline  sergei
Messages: 94
Registered: September 2007
Member
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.
8) 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.

  • Attachment: ULib.zip
    (Size: 71.73KB, Downloaded 374 times)
 
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 May 11 22:49:18 CEST 2025

Total time taken to generate the page: 0.00346 seconds