From 107156d3726d70a99082eecc987d93c734982777 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 2 Oct 2014 08:23:38 +0000 Subject: [PATCH] [DLLEXPORT_TEST] Rename main() to test() svn path=/trunk/; revision=64452 --- rostests/tests/dllexport/CMakeLists.txt | 2 +- rostests/tests/dllexport/dllimport_framedyn.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rostests/tests/dllexport/CMakeLists.txt b/rostests/tests/dllexport/CMakeLists.txt index c67b01eed18..f5e861c1dee 100644 --- a/rostests/tests/dllexport/CMakeLists.txt +++ b/rostests/tests/dllexport/CMakeLists.txt @@ -28,5 +28,5 @@ endif() add_library(dllimport_test SHARED dllimport_framedyn.cpp) set_module_type(dllimport_test win32dll ENTRYPOINT 0) -add_importlibs(dllimport_test msvcrt framedyn) +add_importlibs(dllimport_test framedyn) target_link_libraries(dllimport_test framedynex) diff --git a/rostests/tests/dllexport/dllimport_framedyn.cpp b/rostests/tests/dllexport/dllimport_framedyn.cpp index 59f8cc235d8..d5de492c667 100644 --- a/rostests/tests/dllexport/dllimport_framedyn.cpp +++ b/rostests/tests/dllexport/dllimport_framedyn.cpp @@ -88,7 +88,7 @@ public: }; int -main() +test() { CHString2 String; -- 2.17.1