summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCXXCompilerId.cpp.in
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-11-30 14:15:06 (GMT)
committerPatrick Gansterer <paroga@paroga.com>2012-11-30 14:15:06 (GMT)
commit8e85822e2bd00db737b585393a1ad3c77895e071 (patch)
tree6fbf36e98bb35f0d44f73855d9f1a2333ba56ca1 /Modules/CMakeCXXCompilerId.cpp.in
parent5bf9fd8253ec804498c0f3339c4d706cab3673ea (diff)
downloadCMake-8e85822e2bd00db737b585393a1ad3c77895e071.zip
CMake-8e85822e2bd00db737b585393a1ad3c77895e071.tar.gz
CMake-8e85822e2bd00db737b585393a1ad3c77895e071.tar.bz2
VS: Add the entry point when compiling for WindowsCE
Set the entry point to mainACRTStartup to make sure that main() can be found when linking the application to check the compiler.
Diffstat (limited to 'Modules/CMakeCXXCompilerId.cpp.in')
-rw-r--r--Modules/CMakeCXXCompilerId.cpp.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/CMakeCXXCompilerId.cpp.in b/Modules/CMakeCXXCompilerId.cpp.in
index 142a5c5..5e70a41 100644
--- a/Modules/CMakeCXXCompilerId.cpp.in
+++ b/Modules/CMakeCXXCompilerId.cpp.in
@@ -210,7 +210,3 @@ int main(int argc, char* argv[])
(void)argv;
return require;
}
-
-#ifdef ADD_MAINCRTSTARTUP
-extern "C" void mainCRTStartup() {}
-#endif