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
e4c78b37ce
CMake
/
Tests
/
IncludeDirectories
/
empty.cpp
5 lines
69 B
C++
Raw
Normal View
History
Unescape
Escape
Tests/IncludeDirectories: Avoid shared library with no symbols The parent commit added a empty_entry_test shared library to the IncludeDirectories test. Some toolchains fail to create a shared library with no user-defined symbols, so provide a dummy symbol.
2013-05-23 17:10:04 +04:00
#
ifdef _WIN32
__declspec
(
dllexport
)
#
endif
int
empty
(
)
{
return
0
;
}