diff options
author | David Tardon <dtardon@redhat.com> | 2012-07-29 11:49:31 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-09-22 08:15:23 +0200 |
commit | 118cc6807d2cbdc2395d9e61beea98cecb6c0b73 (patch) | |
tree | d242f2539f4010b8fc177708afbe183d8d6cf065 /cli_ure/Library_cli_cppuhelper_native.mk | |
parent | ab79555058d89e447e8e099db436537db63c6ac0 (diff) |
gbuildize cli_ure
Change-Id: I716d666fc6e9d5339bc65a1b3943b2cecf45b6fe
Diffstat (limited to 'cli_ure/Library_cli_cppuhelper_native.mk')
-rw-r--r-- | cli_ure/Library_cli_cppuhelper_native.mk | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/cli_ure/Library_cli_cppuhelper_native.mk b/cli_ure/Library_cli_cppuhelper_native.mk new file mode 100644 index 000000000000..3364803b2313 --- /dev/null +++ b/cli_ure/Library_cli_cppuhelper_native.mk @@ -0,0 +1,53 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_Library_Library,cli_cppuhelper_native)) + +# When compiling for CLR, disable "warning C4339: use of undefined type detected +# in CLR meta-data - use of this type may lead to a runtime exception": +$(eval $(call gb_Library_add_cxxflags,cli_cppuhelper_native,\ + -AI $(gb_Helper_OUTDIRLIBDIR) \ + -clr:oldSyntax \ + -wd4449 \ +)) + +# TODO do not encode filenames here +$(eval $(call gb_Library_add_ldflags,cli_cppuhelper_native,\ + -delayload:cppuhelper3MSC.dll \ + -delayload:cppu3.dll \ + -delayload:sal3.dll \ +)) + +$(eval $(call gb_Library_use_internal_bootstrap_api,cli_cppuhelper_native,\ + udkapi \ +)) + +$(eval $(call gb_Library_use_libraries,cli_cppuhelper_native,\ + advapi32 \ + cppu \ + cppuhelper \ + delayimp \ + mscoree \ + $(if $(USE_DEBUG_RUNTIME)\ + ,msvcmrtd \ + ,msvcmrt \ + ) \ + sal \ +)) + +$(eval $(call gb_Library_add_exception_objects,cli_cppuhelper_native,\ + cli_ure/source/native/native_bootstrap \ + cli_ure/source/native/path \ +)) + +$(eval $(call gb_Library_add_generated_exception_objects,cli_cppuhelper_native,\ + CustomTarget/cli_ure/source/native/assembly \ +)) + +# vim: set noet sw=4 ts=4: |