axmol/cocos
Furkan Üzümcü 5b83fa1ac0 Fix LNK4098 and LNK2001 warnings (#16372)
* Fix LNK4098 warnings

Fixes these two warnings:
```
warning: LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
warning: LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
```

* Fix LNK2001 error

The `version` library is not linked for MSVC compiler and it produces these errors when compiling with MSVC 19.
```
cocos2dInternal.lib(CCApplication-win32.cpp.obj) : error LNK2001: unresolved external symbol _GetFileVersionInfoSizeW@8
cocos2dInternal.lib(CCApplication-win32.cpp.obj) : error LNK2001: unresolved external symbol _GetFileVersionInfoW@16
cocos2dInternal.lib(CCApplication-win32.cpp.obj) : error LNK2001: unresolved external symbol _VerQueryValueW@16
```

This commit fixes that problem
2016-08-22 15:50:17 +08:00
..
2d #Fix use const std::string& instead a temp string (#16392) 2016-08-22 09:43:41 +08:00
3d Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
audio Add explicit type casts to suppress -Wformat warnings (#16306) 2016-08-05 09:46:50 +08:00
base fix: validates director before layout in iOS (#16394) 2016-08-18 18:13:15 -07:00
deprecated Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
editor-support from spine source code (#16330) 2016-08-08 09:47:05 +08:00
math Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
navmesh Use std::abs to avoid overhead of casting float to double 2016-07-13 00:55:11 +09:00
network Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
physics Merge pull request #16151 from mogemimi/fix-function-spelling 2016-07-20 09:56:51 +08:00
physics3d Fix typos and other mistakes in docs 2016-07-04 00:42:10 +09:00
platform fix: validates director before layout in iOS (#16394) 2016-08-18 18:13:15 -07:00
renderer fix: release texture in RenderState (#16396) 2016-08-19 00:22:57 -07:00
scripting [ci skip][AUTO]: updating luabinding & jsbinding automatically (#16411) 2016-08-22 15:49:43 +08:00
storage Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
ui Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
vr Avoid overhead of casting between float and double 2016-07-28 06:49:41 +09:00
Android.mk Android import cpufeatures in cocos. (#16233) 2016-07-31 22:45:30 +08:00
CMakeLists.txt Fix LNK4098 and LNK2001 warnings (#16372) 2016-08-22 15:50:17 +08:00
cc_dummy.c Squashed commit of the following: 2016-03-02 16:51:54 -08:00
cocos2d.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
cocos2d.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00