Relocate the whole solver component out of the standalone sccomp module and into sc. This moves the SolverComponent base class, the CoinMP and Swarm solvers, the differential evolution and particle swarm headers, the UNO service registration, the scc string resource, and the two unit tests. The now-empty sccomp module is removed. The solvers are Calc specific. Moving them inside sc is the first step toward letting them work directly with ScDocument, and eventually clone a document or its sheets so trial calculations can run in parallel. That direct access is only possible from inside sc, so the relocation has to come first. This is a pure relocation with no behaviour change. The translation domain stays "scc" and its polocation still points at "sccomp", so the existing translations keep loading unchanged. Re-homing the scc translation domain into sc is left as a follow-up. Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> Change-Id: I5b972daae4c51f04ca394fc9a92f89ac0c4dd599 Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3832 Tested-by: Jenkins CPCI <releng@collaboraoffice.com> Reviewed-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.com> (cherry picked from commit 7f1bea8723761f97c053f2e7e46aab7081b1bb21) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208080 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# -*- 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_CppunitTest_CppunitTest,sc_solver))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,sc_solver,\
|
|
sc/qa/unit/solver \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_add_defs,sc_solver,\
|
|
$(if $(ENABLE_COINMP), -DENABLE_COINMP) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,sc_solver,\
|
|
cppu \
|
|
sal \
|
|
test \
|
|
unotest \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,sc_solver,\
|
|
-I$(SRCDIR)/sc/inc \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,sc_solver))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,sc_solver))
|
|
$(eval $(call gb_CppunitTest_use_vcl,sc_solver))
|
|
|
|
$(eval $(call gb_CppunitTest_use_rdb,sc_solver,services))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,sc_solver))
|
|
|
|
# vim: set noet sw=4 ts=4:
|