smoketest: fix build with MSVC:
Linking an empty CppunitTest against smoketest Library does not work, the linker complains aboutunresolved external symbol DllMainCRTstartup or something like that; building a static library has the same result; so just build the cxx file twice via a dummy smoketest_too.cxx. Change-Id: I11a29d4ec134f67a7de896ff8c669ed5b47782a7
This commit is contained in:
@@ -29,13 +29,20 @@ $(eval $(call gb_CppunitTest_CppunitTest,smoketest))
|
||||
|
||||
$(eval $(call gb_CppunitTest_abort_on_assertion,smoketest))
|
||||
|
||||
$(eval $(call gb_CppunitTest_add_exception_objects,smoketest,\
|
||||
smoketest/smoketest_too \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_api,smoketest,\
|
||||
offapi \
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_libraries,smoketest,\
|
||||
smoketest \
|
||||
cppu \
|
||||
cppuhelper \
|
||||
sal \
|
||||
unotest \
|
||||
))
|
||||
|
||||
ifeq ($(OS),MACOSX)
|
||||
|
1
smoketest/smoketest_too.cxx
Normal file
1
smoketest/smoketest_too.cxx
Normal file
@@ -0,0 +1 @@
|
||||
#include <smoketest.cxx>
|
Reference in New Issue
Block a user