Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Sep 7, 2018
1 parent 6364140 commit 130f76f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions msvc-reduce-qt-binary-file-size.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,8 @@
- Edit your C++ code
```cpp
#ifndef _DEBUG
#pragma comment(linker, "/FILEALIGN:16") // if 16 fails, try 32 64 128 ...
#pragma comment(linker, "/ALIGN:16") // this number must be the same as above
#pragma comment(linker, "/OPT:REF")
#pragma comment(linker, "/OPT:ICF")
#pragma comment(linker, "/MERGE:.rdata=.data")
#pragma comment(linker, "/MERGE:.text=.data")
#endif
```

Expand Down

0 comments on commit 130f76f

Please sign in to comment.