This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
1f6bd8a93f
CMake
/
Tests
/
VSResource
/
lib.cpp
2 lines
24 B
C++
Raw
Normal View
History
Unescape
Escape
VS: Add /machine: flag to Librarian tool (#11240) If a Windows resource (.rc) source file is included in a STATIC library, the VS "link" tool will process the compiled ".res" file and needs to know the target architecture. Without it, we may get a LNK4068 warning and possibly a LNK1112 error. Add /machine: to the default static library flags to give the link tool the information it needs.
2015-06-26 16:38:35 +03:00
int
lib
(
)
{
return
0
;
}