Changes in / [a91710:4c9101]
- Files:
-
- 54 edited
Legend:
- Unmodified
- Added
- Removed
-
LinearAlgebra/src/LinearAlgebra/Makefile.am
ra91710 r4c9101 2 2 # Also indentation by a single tab 3 3 4 INCLUDES = -I$(top_srcdir)/src 5 4 6 AM_LDFLAGS = -ldl 5 AM_CPPFLAGS = -I$(top_srcdir)/src$(BOOST_CPPFLAGS) ${CodePatterns_CFLAGS}7 AM_CPPFLAGS = $(BOOST_CPPFLAGS) ${CodePatterns_CFLAGS} 6 8 7 9 LINALGSOURCE = \ -
LinearAlgebra/src/unittests/Makefile.am
ra91710 r4c9101 2 2 # Also indentation by a single tab 3 3 4 INCLUDES = -I$(top_srcdir)/src/LinearAlgebra 5 4 6 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl 5 AM_CPPFLAGS = -I$(top_srcdir)/src/LinearAlgebra$(CPPUNIT_CFLAGS) $(BOOST_CPPFLAGS) ${CodePatterns_CFLAGS}7 AM_CPPFLAGS = $(CPPUNIT_CFLAGS) $(BOOST_CPPFLAGS) ${CodePatterns_CFLAGS} 6 8 7 9 if CONDCPPUNIT … … 93 95 VectorUnitTest.cpp \ 94 96 VectorUnitTest.hpp 95 VectorUnitTest_LDADD = ${GSLLIBS} \ 96 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) 97 VectorUnitTest_LDADD = ${GSLLIBS} 97 98 98 99 VectorSetUnitTest_SOURCES = UnitTestMain.cpp \ -
configure.ac
ra91710 r4c9101 13 13 # color-tests: us coloring to indicate success/failure when available 14 14 # tar-pax: use newer tar implementation with longer filename (>99 chars) 15 AM_INIT_AUTOMAKE([dist-bzip2 1.5 parallel-tests color-tests tar-pax subdir-objects])15 AM_INIT_AUTOMAKE([dist-bzip2 1.5 parallel-tests color-tests tar-pax]) 16 16 17 17 # Checks for programs. -
m4/boost.m4
ra91710 r4c9101 1 1 # boost.m4: Locate Boost headers and libraries for autoconf-based projects. 2 # Copyright (C) 2007 -2011, 2014Benoit Sigoure <tsuna@lrde.epita.fr>2 # Copyright (C) 2007, 2008, 2009, 2010, 2011 Benoit Sigoure <tsuna@lrde.epita.fr> 3 3 # 4 4 # This program is free software: you can redistribute it and/or modify … … 23 23 24 24 m4_define([_BOOST_SERIAL], [m4_translit([ 25 # serial 2225 # serial 16 26 26 ], [# 27 27 ], [])]) … … 60 60 # value of any macro. 61 61 m4_define([_BOOST_SED_CPP], 62 [AC_LANG_PUSH([C++])dnl 63 AC_LANG_PREPROC_REQUIRE()dnl 62 [AC_LANG_PREPROC_REQUIRE()dnl 64 63 AC_REQUIRE([AC_PROG_SED])dnl 65 64 AC_LANG_CONFTEST([AC_LANG_SOURCE([[$2]])]) … … 79 78 [$4]) 80 79 rm -rf conftest* 81 AC_LANG_POP([C++])dnl 82 ])# _BOOST_SED_CPP 80 ])# AC_EGREP_CPP 83 81 84 82 … … 137 135 # If the user provided a value to --with-boost, use it and only it. 138 136 case $with_boost in #( 139 ''|yes) set x '' /opt/local/include /usr/local/include /opt/include \ 140 /usr/include C:/Boost/include;; #( 137 ''|yes) set x '' /usr/local/include /usr/include \ 138 /opt/local/include /opt/include \ 139 C:/Boost/include;; #( 141 140 *) set x "$with_boost/include" "$with_boost";; 142 141 esac … … 224 223 ])# BOOST_REQUIRE 225 224 226 227 225 # BOOST_STATIC() 228 226 # -------------- … … 231 229 AC_DEFUN([BOOST_STATIC], 232 230 [AC_ARG_ENABLE([static-boost], 233 [A S_HELP_STRING([--enable-static-boost],231 [AC_HELP_STRING([--enable-static-boost], 234 232 [Prefer the static boost libraries over the shared ones [no]])], 235 233 [enable_static_boost=yes], 236 234 [enable_static_boost=no])])# BOOST_STATIC 237 238 235 239 236 # BOOST_FIND_HEADER([HEADER-NAME], [ACTION-IF-NOT-FOUND], [ACTION-IF-FOUND]) … … 269 266 270 267 271 # BOOST_FIND_LIBS([COMPONENT-NAME], [CANDIDATE-LIB-NAMES], 272 # [PREFERRED-RT-OPT], [HEADER-NAME], [CXX-TEST], 273 # [CXX-PROLOGUE]) 274 # -------------------------------------------------------------- 275 # Look for the Boost library COMPONENT-NAME (e.g., `thread', for 276 # libboost_thread) under the possible CANDIDATE-LIB-NAMES (e.g., 277 # "thread_win32 thread"). Check that HEADER-NAME works and check that 278 # libboost_LIB-NAME can link with the code CXX-TEST. The optional 279 # argument CXX-PROLOGUE can be used to include some C++ code before 280 # the `main' function. 268 # BOOST_FIND_LIB([LIB-NAME], [PREFERRED-RT-OPT], [HEADER-NAME], [CXX-TEST], 269 # [CXX-PROLOGUE]) 270 # ------------------------------------------------------------------------- 271 # Look for the Boost library LIB-NAME (e.g., LIB-NAME = `thread', for 272 # libboost_thread). Check that HEADER-NAME works and check that 273 # libboost_LIB-NAME can link with the code CXX-TEST. The optional argument 274 # CXX-PROLOGUE can be used to include some C++ code before the `main' 275 # function. 281 276 # 282 277 # Invokes BOOST_FIND_HEADER([HEADER-NAME]) (see above). … … 292 287 # ... If you want to make sure you have a specific version of Boost 293 288 # (eg, >= 1.33) you *must* invoke BOOST_REQUIRE before this macro. 294 AC_DEFUN([BOOST_FIND_LIB S],289 AC_DEFUN([BOOST_FIND_LIB], 295 290 [AC_REQUIRE([BOOST_REQUIRE])dnl 296 291 AC_REQUIRE([_BOOST_FIND_COMPILER_TAG])dnl … … 306 301 AS_VAR_PUSHDEF([Boost_lib_LDPATH], [boost_cv_lib_$1_LDPATH])dnl 307 302 AS_VAR_PUSHDEF([Boost_lib_LIBS], [boost_cv_lib_$1_LIBS])dnl 308 BOOST_FIND_HEADER([$ 4])303 BOOST_FIND_HEADER([$3]) 309 304 boost_save_CPPFLAGS=$CPPFLAGS 310 305 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" 306 # Now let's try to find the library. The algorithm is as follows: first look 307 # for a given library name according to the user's PREFERRED-RT-OPT. For each 308 # library name, we prefer to use the ones that carry the tag (toolset name). 309 # Each library is searched through the various standard paths were Boost is 310 # usually installed. If we can't find the standard variants, we try to 311 # enforce -mt (for instance on MacOSX, libboost_threads.dylib doesn't exist 312 # but there's -obviously- libboost_threads-mt.dylib). 311 313 AC_CACHE_CHECK([for the Boost $1 library], [Boost_lib], 312 [_BOOST_FIND_LIBS($@)]) 313 case $Boost_lib in #( 314 (no) _AC_MSG_LOG_CONFTEST 315 AC_MSG_ERROR([cannot find the flags to link with Boost $1]) 316 ;; 317 esac 318 AC_SUBST(AS_TR_CPP([BOOST_$1_LDFLAGS]), [$Boost_lib_LDFLAGS])dnl 319 AC_SUBST(AS_TR_CPP([BOOST_$1_LDPATH]), [$Boost_lib_LDPATH])dnl 320 AC_SUBST([BOOST_LDPATH], [$Boost_lib_LDPATH])dnl 321 AC_SUBST(AS_TR_CPP([BOOST_$1_LIBS]), [$Boost_lib_LIBS])dnl 322 CPPFLAGS=$boost_save_CPPFLAGS 323 AS_VAR_POPDEF([Boost_lib])dnl 324 AS_VAR_POPDEF([Boost_lib_LDFLAGS])dnl 325 AS_VAR_POPDEF([Boost_lib_LDPATH])dnl 326 AS_VAR_POPDEF([Boost_lib_LIBS])dnl 327 AC_LANG_POP([C++])dnl 328 fi 329 ]) 330 331 332 # BOOST_FIND_LIB([LIB-NAME], 333 # [PREFERRED-RT-OPT], [HEADER-NAME], [CXX-TEST], 334 # [CXX-PROLOGUE]) 335 # -------------------------------------------------------------- 336 # Backward compatibility wrapper for BOOST_FIND_LIBS. 337 AC_DEFUN([BOOST_FIND_LIB], 338 [BOOST_FIND_LIBS([$1], $@)]) 339 340 341 # _BOOST_FIND_LIBS([LIB-NAME], [CANDIDATE-LIB-NAMES], 342 # [PREFERRED-RT-OPT], [HEADER-NAME], [CXX-TEST], 343 # [CXX-PROLOGUE]) 344 # -------------------------------------------------------------- 345 # Real implementation of BOOST_FIND_LIBS: rely on these local macros: 346 # Boost_lib, Boost_lib_LDFLAGS, Boost_lib_LDPATH, Boost_lib_LIBS 347 # 348 # The algorithm is as follows: first look for a given library name 349 # according to the user's PREFERRED-RT-OPT. For each library name, we 350 # prefer to use the ones that carry the tag (toolset name). Each 351 # library is searched through the various standard paths were Boost is 352 # usually installed. If we can't find the standard variants, we try 353 # to enforce -mt (for instance on MacOSX, libboost_thread.dylib 354 # doesn't exist but there's -obviously- libboost_thread-mt.dylib). 355 AC_DEFUN([_BOOST_FIND_LIBS], 356 [Boost_lib=no 357 case "$3" in #( 358 (mt | mt-) boost_mt=-mt; boost_rtopt=;; #( 359 (mt* | mt-*) boost_mt=-mt; boost_rtopt=`expr "X$3" : 'Xmt-*\(.*\)'`;; #( 360 (*) boost_mt=; boost_rtopt=$3;; 314 [Boost_lib=no 315 case "$2" in #( 316 mt | mt-) boost_mt=-mt; boost_rtopt=;; #( 317 mt* | mt-*) boost_mt=-mt; boost_rtopt=`expr "X$2" : 'Xmt-*\(.*\)'`;; #( 318 *) boost_mt=; boost_rtopt=$2;; 361 319 esac 362 320 if test $enable_static_boost = yes; then … … 365 323 # Find the proper debug variant depending on what we've been asked to find. 366 324 case $boost_rtopt in #( 367 (*d*) boost_rt_d=$boost_rtopt;; #(368 (*[[sgpn]]*) # Insert the `d' at the right place (in between `sg' and `pn')325 *d*) boost_rt_d=$boost_rtopt;; #( 326 *[[sgpn]]*) # Insert the `d' at the right place (in between `sg' and `pn') 369 327 boost_rt_d=`echo "$boost_rtopt" | sed 's/\(s*g*\)\(p*n*\)/\1\2/'`;; #( 370 (*) boost_rt_d='-d';;328 *) boost_rt_d='-d';; 371 329 esac 372 330 # If the PREFERRED-RT-OPT are not empty, prepend a `-'. … … 379 337 boost_save_ac_objext=$ac_objext 380 338 # Generate the test file. 381 AC_LANG_CONFTEST([AC_LANG_PROGRAM([#include <$ 4>382 $ 6], [$5])])339 AC_LANG_CONFTEST([AC_LANG_PROGRAM([#include <$3> 340 $5], [$4])]) 383 341 dnl Optimization hacks: compiling C++ is slow, especially with Boost. What 384 342 dnl we're trying to do here is guess the right combination of link flags … … 402 360 ac_objext=$boost_save_ac_objext 403 361 boost_failed_libs= 404 # Don't bother to ident the following nested for loops, only the 2 405 # innermost ones matter. 406 for boost_lib_ in $2; do 362 # Don't bother to ident the 6 nested for loops, only the 2 innermost ones 363 # matter. 407 364 for boost_tag_ in -$boost_cv_lib_tag ''; do 408 365 for boost_ver_ in -$boost_cv_lib_version ''; do 409 for boost_mt_ in $boost_mt -mt ''; do366 for boost_mt_ in $boost_mt '' -mt; do 410 367 for boost_rtopt_ in $boost_rtopt '' -d; do 411 368 for boost_lib in \ 412 boost_$ boost_lib_$boost_tag_$boost_mt_$boost_rtopt_$boost_ver_ \413 boost_$ boost_lib_$boost_tag_$boost_rtopt_$boost_ver_ \414 boost_$ boost_lib_$boost_tag_$boost_mt_$boost_ver_ \415 boost_$ boost_lib_$boost_tag_$boost_ver_369 boost_$1$boost_tag_$boost_mt_$boost_rtopt_$boost_ver_ \ 370 boost_$1$boost_tag_$boost_rtopt_$boost_ver_ \ 371 boost_$1$boost_tag_$boost_mt_$boost_ver_ \ 372 boost_$1$boost_tag_$boost_ver_ 416 373 do 417 374 # Avoid testing twice the same lib 418 375 case $boost_failed_libs in #( 419 (*@$boost_lib@*) continue;;376 *@$boost_lib@*) continue;; 420 377 esac 421 378 # If with_boost is empty, we'll search in /lib first, which is not quite … … 424 381 test x"$with_boost" = x && boost_tmp_lib=${boost_cv_inc_path%/include} 425 382 for boost_ldpath in "$boost_tmp_lib/lib" '' \ 426 /opt/local/lib* /usr/local/lib* /opt/lib* /usr/lib* \ 427 "$with_boost" C:/Boost/lib /lib* 383 /usr/local/lib* /usr/lib* \ 384 "$with_boost" C:/Boost/lib /lib* \ 385 /opt/local/lib* /opt/lib* 428 386 do 429 # Don't waste time with directories that don't exist. 430 if test x"$boost_ldpath" != x && test ! -e "$boost_ldpath"; then 431 continue 432 fi 387 test -e "$boost_ldpath" || continue 433 388 boost_save_LDFLAGS=$LDFLAGS 434 389 # Are we looking for a static library? 435 390 case $boost_ldpath:$boost_rtopt_ in #( 436 (*?*:*s*) # Yes (Non empty boost_ldpath + s in rt opt)391 *?*:*s*) # Yes (Non empty boost_ldpath + s in rt opt) 437 392 Boost_lib_LIBS="$boost_ldpath/lib$boost_lib.$libext" 438 393 test -e "$Boost_lib_LIBS" || continue;; #( 439 (*) # No: use -lboost_foo to find the shared library.394 *) # No: use -lboost_foo to find the shared library. 440 395 Boost_lib_LIBS="-l$boost_lib";; 441 396 esac … … 451 406 LIBS=$boost_save_LIBS 452 407 if test x"$Boost_lib" = xyes; then 453 # Check or used cached result of whether or not using -R or 454 # -rpath makes sense. Some implementations of ld, such as for 455 # Mac OSX, require -rpath but -R is the flag known to work on 456 # other systems. https://github.com/tsuna/boost.m4/issues/19 457 AC_CACHE_VAL([boost_cv_rpath_link_ldflag], 458 [case $boost_ldpath in 459 '') # Nothing to do. 460 boost_cv_rpath_link_ldflag= 461 boost_rpath_link_ldflag_found=yes;; 462 *) 463 for boost_cv_rpath_link_ldflag in -Wl,-R, -Wl,-rpath,; do 464 LDFLAGS="$boost_save_LDFLAGS -L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath" 465 LIBS="$boost_save_LIBS $Boost_lib_LIBS" 466 _BOOST_AC_LINK_IFELSE([], 467 [boost_rpath_link_ldflag_found=yes 468 break], 469 [boost_rpath_link_ldflag_found=no]) 470 done 471 ;; 472 esac 473 AS_IF([test "x$boost_rpath_link_ldflag_found" != "xyes"], 474 [AC_MSG_ERROR([Unable to determine whether to use -R or -rpath])]) 475 LDFLAGS=$boost_save_LDFLAGS 476 LIBS=$boost_save_LIBS 477 ]) 478 test x"$boost_ldpath" != x && 479 Boost_lib_LDFLAGS="-L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath" 408 Boost_lib_LDFLAGS="-L$boost_ldpath -Wl,-R$boost_ldpath" 480 409 Boost_lib_LDPATH="$boost_ldpath" 481 break 7410 break 6 482 411 else 483 412 boost_failed_libs="$boost_failed_libs@$boost_lib@" … … 489 418 done 490 419 done 491 done # boost_lib_492 420 rm -f conftest.$ac_objext 493 421 ]) 494 422 case $Boost_lib in #( 423 no) _AC_MSG_LOG_CONFTEST 424 AC_MSG_ERROR([cannot find the flags to link with Boost $1]) 425 ;; 426 esac 427 AC_SUBST(AS_TR_CPP([BOOST_$1_LDFLAGS]), [$Boost_lib_LDFLAGS])dnl 428 AC_SUBST(AS_TR_CPP([BOOST_$1_LDPATH]), [$Boost_lib_LDPATH])dnl 429 AC_SUBST([BOOST_LDPATH], [$Boost_lib_LDPATH])dnl 430 AC_SUBST(AS_TR_CPP([BOOST_$1_LIBS]), [$Boost_lib_LIBS])dnl 431 CPPFLAGS=$boost_save_CPPFLAGS 432 AS_VAR_POPDEF([Boost_lib])dnl 433 AS_VAR_POPDEF([Boost_lib_LDFLAGS])dnl 434 AS_VAR_POPDEF([Boost_lib_LDPATH])dnl 435 AS_VAR_POPDEF([Boost_lib_LIBS])dnl 436 AC_LANG_POP([C++])dnl 437 fi 438 ])# BOOST_FIND_LIB 495 439 496 440 … … 539 483 BOOST_FIND_HEADER([boost/asio.hpp])]) 540 484 541 542 485 # BOOST_BIMAP() 543 486 # ------------ … … 546 489 [BOOST_FIND_HEADER([boost/bimap.hpp])]) 547 490 548 549 491 # BOOST_BIND() 550 492 # ------------ 551 # Look for Boost.Bind .493 # Look for Boost.Bind 552 494 BOOST_DEFUN([Bind], 553 495 [BOOST_FIND_HEADER([boost/bind.hpp])]) 554 555 496 556 497 # BOOST_CAST() … … 559 500 BOOST_DEFUN([Cast], 560 501 [BOOST_FIND_HEADER([boost/cast.hpp])]) 561 562 563 # BOOST_CHRONO()564 # --------------565 # Look for Boost.Chrono.566 BOOST_DEFUN([Chrono],567 [# Do we have to check for Boost.System? This link-time dependency was568 # added as of 1.35.0. If we have a version <1.35, we must not attempt to569 # find Boost.System as it didn't exist by then.570 if test $boost_major_version -ge 135; then571 BOOST_SYSTEM([$1])572 fi # end of the Boost.System check.573 boost_filesystem_save_LIBS=$LIBS574 boost_filesystem_save_LDFLAGS=$LDFLAGS575 m4_pattern_allow([^BOOST_SYSTEM_(LIBS|LDFLAGS)$])dnl576 LIBS="$LIBS $BOOST_SYSTEM_LIBS"577 LDFLAGS="$LDFLAGS $BOOST_SYSTEM_LDFLAGS"578 BOOST_FIND_LIB([chrono], [$1],579 [boost/chrono.hpp],580 [boost::chrono::thread_clock d;])581 if test $enable_static_boost = yes && test $boost_major_version -ge 135; then582 BOOST_FILESYSTEM_LIBS="$BOOST_FILESYSTEM_LIBS $BOOST_SYSTEM_LIBS"583 fi584 LIBS=$boost_filesystem_save_LIBS585 LDFLAGS=$boost_filesystem_save_LDFLAGS586 ])# BOOST_CHRONO587 588 502 589 503 # BOOST_CONVERSION() … … 594 508 BOOST_FIND_HEADER([boost/lexical_cast.hpp]) 595 509 ])# BOOST_CONVERSION 596 597 598 # BOOST_CRC()599 # -----------600 # Look for Boost.CRC601 BOOST_DEFUN([CRC],602 [BOOST_FIND_HEADER([boost/crc.hpp])603 ])# BOOST_CRC604 510 605 511 … … 633 539 # find Boost.System as it didn't exist by then. 634 540 if test $boost_major_version -ge 135; then 635 541 BOOST_SYSTEM([$1]) 636 542 fi # end of the Boost.System check. 637 543 boost_filesystem_save_LIBS=$LIBS … … 643 549 [boost/filesystem/path.hpp], [boost::filesystem::path p;]) 644 550 if test $enable_static_boost = yes && test $boost_major_version -ge 135; then 645 BOOST_FILESYSTEM_LIBS="$BOOST_FILESYSTEM_LIBS $BOOST_SYSTEM_LIBS"551 AC_SUBST([BOOST_FILESYSTEM_LIBS], ["$BOOST_FILESYSTEM_LIBS $BOOST_SYSTEM_LIBS"]) 646 552 fi 647 553 LIBS=$boost_filesystem_save_LIBS … … 650 556 651 557 652 # BOOST_FUSION()653 # -----------------654 # Look for Boost.Fusion655 BOOST_DEFUN([Fusion],656 [BOOST_FIND_HEADER([boost/fusion/sequence.hpp])])657 658 659 # BOOST_FLYWEIGHT()660 # -----------------661 # Look for Boost.Flyweight.662 BOOST_DEFUN([Flyweight],663 [dnl There's a hidden dependency on pthreads.664 AC_REQUIRE([_BOOST_PTHREAD_FLAG])dnl665 BOOST_FIND_HEADER([boost/flyweight.hpp])666 AC_SUBST([BOOST_FLYWEIGHT_LIBS], [$boost_cv_pthread_flag])667 ])668 669 670 558 # BOOST_FOREACH() 671 559 # --------------- 672 # Look for Boost.Foreach .560 # Look for Boost.Foreach 673 561 BOOST_DEFUN([Foreach], 674 562 [BOOST_FIND_HEADER([boost/foreach.hpp])]) … … 677 565 # BOOST_FORMAT() 678 566 # -------------- 679 # Look for Boost.Format .567 # Look for Boost.Format 680 568 # Note: we can't check for boost/format/format_fwd.hpp because the header isn't 681 569 # standalone. It can't be compiled because it triggers the following error: … … 693 581 694 582 695 # BOOST_ GEOMETRY()583 # BOOST_FUSION() 696 584 # ---------------- 697 # Look for Boost.Geometry (new since 1.47.0). 698 BOOST_DEFUN([Geometry], 699 [BOOST_FIND_HEADER([boost/geometry.hpp]) 700 ])# BOOST_GEOMETRY 585 # Look for Boost.Fusion 586 BOOST_DEFUN([Fusion], 587 [BOOST_FIND_HEADER([boost/fusion/sequence.hpp])]) 701 588 702 589 … … 745 632 # BOOST_LOG([PREFERRED-RT-OPT]) 746 633 # ----------------------------- 747 # Look for Boost.Log .For the documentation of PREFERRED-RT-OPT, see the634 # Look for Boost.Log For the documentation of PREFERRED-RT-OPT, see the 748 635 # documentation of BOOST_FIND_LIB above. 749 636 BOOST_DEFUN([Log], … … 756 643 # BOOST_LOG_SETUP([PREFERRED-RT-OPT]) 757 644 # ----------------------------------- 758 # Look for Boost.Log .For the documentation of PREFERRED-RT-OPT, see the645 # Look for Boost.Log For the documentation of PREFERRED-RT-OPT, see the 759 646 # documentation of BOOST_FIND_LIB above. 760 647 BOOST_DEFUN([Log_Setup], 761 648 [AC_REQUIRE([BOOST_LOG])dnl 762 649 BOOST_FIND_LIB([log_setup], [$1], 763 [boost/log/utility/ setup/from_settings.hpp],650 [boost/log/utility/init/from_settings.hpp], 764 651 [boost::log::basic_settings<char> bs; bs.empty();]) 765 652 ])# BOOST_LOG_SETUP … … 778 665 779 666 780 # BOOST_MPI([PREFERRED-RT-OPT]) 781 # ------------------------------- 782 # Look for Boost MPI. For the documentation of PREFERRED-RT-OPT, see the 783 # documentation of BOOST_FIND_LIB above. Uses MPICXX variable if it is 784 # set, otherwise tries CXX 785 # 786 BOOST_DEFUN([MPI], 787 [boost_save_CXX=${CXX} 788 boost_save_CXXCPP=${CXXCPP} 789 if test x"${MPICXX}" != x; then 790 CXX=${MPICXX} 791 CXXCPP="${MPICXX} -E" 792 fi 793 BOOST_FIND_LIB([mpi], [$1], 794 [boost/mpi.hpp], 795 [int argc = 0; 796 char **argv = 0; 797 boost::mpi::environment env(argc,argv);]) 798 CXX=${boost_save_CXX} 799 CXXCPP=${boost_save_CXXCPP} 800 ])# BOOST_MPI 801 802 803 # BOOST_MPL() 667 # BOOST_MULTIARRAY() 668 # ------------------ 669 # Look for Boost.MultiArray 670 BOOST_DEFUN([MultiArray], 671 [BOOST_FIND_HEADER([boost/mpl/list.hpp])]) 672 673 674 # BOOST_MMPL() 804 675 # ------------------ 805 676 # Look for Boost.MPL 806 677 BOOST_DEFUN([MPL], 807 678 [BOOST_FIND_HEADER([boost/mpl/for_each.hpp])]) 808 809 810 # BOOST_MULTIARRAY()811 # ------------------812 # Look for Boost.MultiArray813 BOOST_DEFUN([MultiArray],814 [BOOST_FIND_HEADER([boost/multi_array.hpp])])815 816 817 # BOOST_NUMERIC_UBLAS()818 # --------------------------819 # Look for Boost.NumericUblas (Basic Linear Algebra)820 BOOST_DEFUN([Numeric_Ublas],821 [BOOST_FIND_HEADER([boost/numeric/ublas/vector.hpp])822 ])# BOOST_NUMERIC_UBLAS823 824 679 825 680 # BOOST_NUMERIC_CONVERSION() … … 909 764 _BOOST_PYTHON_CONFIG([LIBS], [libs]) 910 765 m4_pattern_allow([^BOOST_PYTHON_MODULE$])dnl 911 BOOST_FIND_LIB S([python], [python python3], [$1],912 913 766 BOOST_FIND_LIB([python], [$1], 767 [boost/python.hpp], 768 [], [BOOST_PYTHON_MODULE(empty) {}]) 914 769 CPPFLAGS=$boost_python_save_CPPFLAGS 915 770 LDFLAGS=$boost_python_save_LDFLAGS … … 957 812 [boost::signal<void ()> s;]) 958 813 ])# BOOST_SIGNALS 959 960 961 # BOOST_SIGNALS2()962 # ----------------963 # Look for Boost.Signals2 (new since 1.39.0).964 BOOST_DEFUN([Signals2],965 [BOOST_FIND_HEADER([boost/signals2.hpp])966 ])# BOOST_SIGNALS2967 814 968 815 … … 1017 864 1018 865 1019 # BOOST_THREAD ([PREFERRED-RT-OPT])866 # BOOST_THREADS([PREFERRED-RT-OPT]) 1020 867 # --------------------------------- 1021 868 # Look for Boost.Thread. For the documentation of PREFERRED-RT-OPT, see the 1022 869 # documentation of BOOST_FIND_LIB above. 1023 BOOST_DEFUN([Thread], 870 # FIXME: Provide an alias "BOOST_THREAD". 871 BOOST_DEFUN([Threads], 1024 872 [dnl Having the pthread flag is required at least on GCC3 where 1025 873 dnl boost/thread.hpp would complain if we try to compile without 1026 874 dnl -pthread on GNU/Linux. 1027 875 AC_REQUIRE([_BOOST_PTHREAD_FLAG])dnl 1028 boost_thread_save_LIBS=$LIBS 1029 boost_thread_save_LDFLAGS=$LDFLAGS 1030 boost_thread_save_CPPFLAGS=$CPPFLAGS 1031 # Link-time dependency from thread to system was added as of 1.49.0. 1032 if test $boost_major_version -ge 149; then 1033 BOOST_SYSTEM([$1]) 1034 fi # end of the Boost.System check. 1035 m4_pattern_allow([^BOOST_SYSTEM_(LIBS|LDFLAGS)$])dnl 1036 LIBS="$LIBS $BOOST_SYSTEM_LIBS $boost_cv_pthread_flag" 1037 LDFLAGS="$LDFLAGS $BOOST_SYSTEM_LDFLAGS" 876 boost_threads_save_LIBS=$LIBS 877 boost_threads_save_CPPFLAGS=$CPPFLAGS 878 LIBS="$LIBS $boost_cv_pthread_flag" 879 # Yes, we *need* to put the -pthread thing in CPPFLAGS because with GCC3, 880 # boost/thread.hpp will trigger a #error if -pthread isn't used: 881 # boost/config/requires_threads.hpp:47:5: #error "Compiler threading support 882 # is not turned on. Please set the correct command line options for 883 # threading: -pthread (Linux), -pthreads (Solaris) or -mthreads (Mingw32)" 1038 884 CPPFLAGS="$CPPFLAGS $boost_cv_pthread_flag" 1039 1040 # When compiling for the Windows platform, the threads library is named 1041 # differently. 1042 case $host_os in 1043 (*mingw*) boost_thread_lib_ext=_win32;; 1044 esac 1045 BOOST_FIND_LIBS([thread], [thread$boost_thread_lib_ext], 1046 [$1], 1047 [boost/thread.hpp], [boost::thread t; boost::mutex m;]) 1048 1049 BOOST_THREAD_LIBS="$BOOST_THREAD_LIBS $BOOST_SYSTEM_LIBS $boost_cv_pthread_flag" 1050 BOOST_THREAD_LDFLAGS="$BOOST_SYSTEM_LDFLAGS" 885 BOOST_FIND_LIB([thread], [$1], 886 [boost/thread.hpp], [boost::thread t; boost::mutex m;]) 887 BOOST_THREAD_LIBS="$BOOST_THREAD_LIBS $boost_cv_pthread_flag" 1051 888 BOOST_CPPFLAGS="$BOOST_CPPFLAGS $boost_cv_pthread_flag" 1052 LIBS=$boost_thread_save_LIBS 1053 LDFLAGS=$boost_thread_save_LDFLAGS 1054 CPPFLAGS=$boost_thread_save_CPPFLAGS 1055 ])# BOOST_THREAD 1056 1057 AU_ALIAS([BOOST_THREADS], [BOOST_THREAD]) 889 LIBS=$boost_threads_save_LIBS 890 CPPFLAGS=$boost_threads_save_CPPFLAGS 891 ])# BOOST_THREADS 1058 892 1059 893 … … 1104 938 1105 939 1106 # BOOST_POINTER_CONTAINER()1107 # ------------------------1108 # Look for Boost.PointerContainer1109 BOOST_DEFUN([Pointer_Container],1110 [BOOST_FIND_HEADER([boost/ptr_container/ptr_deque.hpp])1111 BOOST_FIND_HEADER([boost/ptr_container/ptr_list.hpp])1112 BOOST_FIND_HEADER([boost/ptr_container/ptr_vector.hpp])1113 BOOST_FIND_HEADER([boost/ptr_container/ptr_array.hpp])1114 BOOST_FIND_HEADER([boost/ptr_container/ptr_set.hpp])1115 BOOST_FIND_HEADER([boost/ptr_container/ptr_map.hpp])1116 ])# BOOST_POINTER_CONTAINER1117 1118 1119 940 # BOOST_WAVE([PREFERRED-RT-OPT]) 1120 941 # ------------------------------ 1121 942 # NOTE: If you intend to use Wave/Spirit with thread support, make sure you 1122 # call BOOST_THREAD first.943 # call BOOST_THREADS first. 1123 944 # Look for Boost.Wave. For the documentation of PREFERRED-RT-OPT, see the 1124 945 # documentation of BOOST_FIND_LIB above. … … 1129 950 boost_wave_save_LDFLAGS=$LDFLAGS 1130 951 m4_pattern_allow([^BOOST_((FILE)?SYSTEM|DATE_TIME|THREAD)_(LIBS|LDFLAGS)$])dnl 1131 LIBS="$LIBS $BOOST_SYSTEM_LIBS $BOOST_FILESYSTEM_LIBS $BOOST_DATE_TIME_LIBS 952 LIBS="$LIBS $BOOST_SYSTEM_LIBS $BOOST_FILESYSTEM_LIBS $BOOST_DATE_TIME_LIBS\ 1132 953 $BOOST_THREAD_LIBS" 1133 LDFLAGS="$LDFLAGS $BOOST_SYSTEM_LDFLAGS $BOOST_FILESYSTEM_LDFLAGS 954 LDFLAGS="$LDFLAGS $BOOST_SYSTEM_LDFLAGS $BOOST_FILESYSTEM_LDFLAGS\ 1134 955 $BOOST_DATE_TIME_LDFLAGS $BOOST_THREAD_LDFLAGS" 1135 956 BOOST_FIND_LIB([wave], [$1], … … 1155 976 # _BOOST_PTHREAD_FLAG() 1156 977 # --------------------- 1157 # Internal helper for BOOST_THREAD. Computes boost_cv_pthread_flag 1158 # which must be used in CPPFLAGS and LIBS. 1159 # 1160 # Yes, we *need* to put the -pthread thing in CPPFLAGS because with GCC3, 1161 # boost/thread.hpp will trigger a #error if -pthread isn't used: 1162 # boost/config/requires_threads.hpp:47:5: #error "Compiler threading support 1163 # is not turned on. Please set the correct command line options for 1164 # threading: -pthread (Linux), -pthreads (Solaris) or -mthreads (Mingw32)" 1165 # 1166 # Based on ACX_PTHREAD: http://autoconf-archive.cryp.to/acx_pthread.html 978 # Internal helper for BOOST_THREADS. Based on ACX_PTHREAD: 979 # http://autoconf-archive.cryp.to/acx_pthread.html 1167 980 AC_DEFUN([_BOOST_PTHREAD_FLAG], 1168 981 [AC_REQUIRE([AC_PROG_CXX])dnl … … 1232 1045 ["defined __GNUC__ && __GNUC__ == $1 && __GNUC_MINOR__ == $2 && !defined __ICC @ gcc$1$2"])dnl 1233 1046 1234 # _BOOST_mingw_test(MAJOR, MINOR)1235 # -----------------------------1236 # Internal helper for _BOOST_FIND_COMPILER_TAG.1237 m4_define([_BOOST_mingw_test],1238 ["defined __GNUC__ && __GNUC__ == $1 && __GNUC_MINOR__ == $2 && !defined __ICC && \1239 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \1240 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw$1$2"])dnl1241 1242 1047 1243 1048 # _BOOST_FIND_COMPILER_TAG() … … 1267 1072 # the same defines as GCC's). 1268 1073 for i in \ 1269 _BOOST_mingw_test(4,8) \1270 _BOOST_gcc_test(4, 8) \1271 _BOOST_mingw_test(4,7) \1272 _BOOST_gcc_test(4, 7) \1273 _BOOST_mingw_test(4,6) \1274 1074 _BOOST_gcc_test(4, 6) \ 1275 _BOOST_mingw_test(4,5) \1276 1075 _BOOST_gcc_test(4, 5) \ 1277 _BOOST_mingw_test(4,4) \1278 1076 _BOOST_gcc_test(4, 4) \ 1279 _BOOST_mingw_test(4,3) \1280 1077 _BOOST_gcc_test(4, 3) \ 1281 _BOOST_mingw_test(4,2) \1282 1078 _BOOST_gcc_test(4, 2) \ 1283 _BOOST_mingw_test(4,1) \1284 1079 _BOOST_gcc_test(4, 1) \ 1285 _BOOST_mingw_test(4,0) \1286 1080 _BOOST_gcc_test(4, 0) \ 1287 1081 "defined __GNUC__ && __GNUC__ == 3 && !defined __ICC \ … … 1349 1143 AC_DEFUN([_BOOST_GUESS_WHETHER_TO_USE_MT], 1350 1144 [# Check whether we do better use `mt' even though we weren't ask to. 1351 AC_LANG_PUSH([C++])dnl1352 1145 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ 1353 1146 #if defined _REENTRANT || defined _MT || defined __MT__ … … 1357 1150 #endif 1358 1151 ]])], [boost_guess_use_mt=:], [boost_guess_use_mt=false]) 1359 AC_LANG_POP([C++])dnl1360 1152 ]) 1361 1153 … … 1381 1173 _AS_ECHO_LOG([re-using the existing conftest.$ac_objext]) 1382 1174 AS_IF([_AC_DO_STDERR($ac_link) && { 1383 1384 1175 test -z "$ac_[]_AC_LANG_ABBREV[]_werror_flag" || 1176 test ! -s conftest.err 1385 1177 } && test -s conftest$ac_exeext && { 1386 1387 1178 test "$cross_compiling" = yes || 1179 $as_executable_p conftest$ac_exeext 1388 1180 dnl FIXME: use AS_TEST_X instead when 2.61 is widespread enough. 1389 1181 }], -
m4/qwt.m4
ra91710 r4c9101 80 80 AC_TRY_LINK( 81 81 [#include <qwt_plot.h>], 82 [QwtPlot * plot = new QwtPlot( );],82 [QwtPlot * plot = new QwtPlot(QString("Two Curves"));], 83 83 [mol_ac_have_qwt=true]) 84 84 AC_LANG_RESTORE -
src/Actions/ActionQueue.cpp
ra91710 r4c9101 145 145 run_thread.sleep(boost::get_system_time() + boost::posix_time::milliseconds(100)); 146 146 #else 147 boost::this_thread::sleep_for(boost::chrono::milliseconds(100));147 run_thread.sleep_for(100); 148 148 #endif 149 149 } catch(boost::thread_interrupted &e) { -
src/Actions/Action_impl_python.hpp
ra91710 r4c9101 21 21 #include <boost/preprocessor/punctuation/comma_if.hpp> 22 22 #include <boost/preprocessor/punctuation/paren.hpp> 23 #include <boost/preprocessor/seq/elem.hpp>24 #include <boost/preprocessor/seq/size.hpp>25 #include <boost/preprocessor/seq/transform.hpp>26 23 27 24 // some derived names: if CATEGORY is not given, we don't prefix with it … … 51 48 BOOST_PP_ASSERT_MSG(BOOST_PP_EQUAL(MAXPARAMTYPES, BOOST_PP_SEQ_SIZE(paramdescriptions)),\ 52 49 ERROR: There are not the same number of "paramtokens" and "paramdescriptions" in: __FILE__ \ 53 )54 #endif55 #ifdef paramreferences56 BOOST_PP_ASSERT_MSG(BOOST_PP_EQUAL(MAXPARAMTYPES, BOOST_PP_SEQ_SIZE(paramreferences)),\57 ERROR: There are not the same number of "paramtokens" and "paramreferences" in: __FILE__ \58 )59 #endif60 61 #ifdef paramtypes62 BOOST_PP_ASSERT_MSG(BOOST_PP_EQUAL(MAXPARAMTYPES, BOOST_PP_SEQ_SIZE(paramtypes)),\63 ERROR: There are not the same number of "paramtokens" and "paramtypes" in: __FILE__ \64 50 ) 65 51 #endif … … 97 83 // print a list of type ref followed, i.e. "int i, double position" 98 84 #define type_list(z,n,TYPELIST, VARLIST) \ 99 BOOST_PP_COMMA_IF(n) 85 BOOST_PP_COMMA_IF(n)\ 100 86 BOOST_PP_SEQ_ELEM(n, TYPELIST) \ 101 87 BOOST_PP_SEQ_ELEM(n, VARLIST) … … 104 90 #define value_print(z, n, container, prefix) \ 105 91 prefix \ 106 BOOST_PP_SEQ_ELEM(n, container) 107 .set( 108 BOOST_PP_SEQ_ELEM(n, container) 92 BOOST_PP_SEQ_ELEM(n, container)\ 93 .set(\ 94 BOOST_PP_SEQ_ELEM(n, container)\ 109 95 ); 110 96 … … 124 110 BOOST_PP_CAT( COMMAND, _stringargs)( 125 111 #if defined paramtypes 126 #define BOOST_PP_LOCAL_MACRO(n) type_list(~, n, BOOST_PP_SEQ_TRANSFORM( type2string, ~, paramtypes), paramreferences)112 #define BOOST_PP_LOCAL_MACRO(n) type_list(~, n, BOOST_PP_SEQ_TRANSFORM( type2string, , paramtypes), paramreferences) 127 113 #define BOOST_PP_LOCAL_LIMITS (0, MAXPARAMTYPES-1) 128 114 #include BOOST_PP_LOCAL_ITERATE() -
src/Actions/FragmentationAction/FragmentationAutomationAction.cpp
ra91710 r4c9101 175 175 params.executable.get().string() 176 176 ); 177 if (NoJobs != NumberJobs) {178 ELOG(1, "Not all jobs were added succesfully.");179 return Action::failure;180 }181 177 LOG(1, "INFO: Added " << NoJobs << " from FragmentJobsQueue."); 182 178 -
src/Actions/unittests/Makefile.am
ra91710 r4c9101 25 25 26 26 ACTIONLIBS = \ 27 libUnitTest.la \28 ../libMolecuilder.la \29 27 ../libMolecuilderUI.la 30 28 if CONDJOBMARKET … … 35 33 # note that DummyUI inherits Dialog which depends on boost/file_system ... 36 34 37 ActionRegistryUnitTest_SOURCES = \35 ActionRegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 38 36 ../Actions/unittests/ActionRegistryUnitTest.cpp \ 39 37 ../Actions/unittests/ActionRegistryUnitTest.hpp \ … … 42 40 ../Parameters/unittests/stubs/BoxVectorValidatorStub.cpp \ 43 41 ../Parameters/unittests/stubs/TimeStepPresentValidatorStub.cpp 44 ActionRegistryUnitTest_LDADD = ${ACTIONLIBS} \ 45 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) 42 ActionRegistryUnitTest_LDADD = ${ACTIONLIBS} 46 43 47 ActionSequenceUnitTest_SOURCES = \44 ActionSequenceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 48 45 ../Actions/unittests/ActionSequenceUnitTest.cpp \ 49 46 ../Actions/unittests/ActionSequenceUnitTest.hpp \ … … 58 55 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) 59 56 60 AtomsCalculationUnitTest_SOURCES = \57 AtomsCalculationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 61 58 ../Actions/unittests/AtomsCalculationUnitTest.cpp \ 62 59 ../Actions/unittests/AtomsCalculationUnitTest.hpp 63 60 AtomsCalculationUnitTest_LDADD = ${ACTIONLIBS} 64 61 65 ManipulateAtomsUnitTest_SOURCES = \62 ManipulateAtomsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 66 63 ../Actions/unittests/ManipulateAtomsUnitTest.cpp \ 67 64 ../Actions/unittests/ManipulateAtomsUnitTest.hpp \ -
src/Analysis/unittests/Makefile.am
ra91710 r4c9101 28 28 29 29 ANALYSISLIBS = \ 30 libUnitTest.la \31 30 ../libMolecuilderAnalysis.la \ 32 31 ../libMolecuilderUI.la \ … … 41 40 $(BOOST_LIB) 42 41 43 AnalysisBondsUnitTest_SOURCES = \42 AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 44 43 ../Analysis/unittests/AnalysisBondsUnitTest.cpp \ 45 44 ../Analysis/unittests/AnalysisBondsUnitTest.hpp 46 45 AnalysisBondsUnitTest_LDADD = ${ANALYSISLIBS} 47 46 48 AnalysisCorrelationToPointUnitTest_SOURCES = \47 AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 49 48 ../Analysis/unittests/AnalysisCorrelationToPointUnitTest.cpp \ 50 49 ../Analysis/unittests/AnalysisCorrelationToPointUnitTest.hpp 51 50 AnalysisCorrelationToPointUnitTest_LDADD = ${ANALYSISLIBS} 52 51 53 AnalysisCorrelationToSurfaceUnitTest_SOURCES = \52 AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 54 53 ../Analysis/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp \ 55 54 ../Analysis/unittests/AnalysisCorrelationToSurfaceUnitTest.hpp 56 55 AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ANALYSISLIBS} 57 56 58 AnalysisPairCorrelationUnitTest_SOURCES = \57 AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 59 58 ../Analysis/unittests/AnalysisPairCorrelationUnitTest.cpp \ 60 59 ../Analysis/unittests/AnalysisPairCorrelationUnitTest.hpp 61 60 AnalysisPairCorrelationUnitTest_LDADD = ${ANALYSISLIBS} 62 61 63 CountBondsUnitTest_SOURCES = \62 CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 64 63 ../Analysis/unittests/CountBondsUnitTest.cpp \ 65 64 ../Analysis/unittests/CountBondsUnitTest.hpp -
src/Atom/unittests/Makefile.am
ra91710 r4c9101 21 21 22 22 ATOMTESTLIBS = \ 23 libUnitTest.la \24 ../libMolecuilder.la \25 23 ../libMolecuilderUI.la 26 24 ATOMTESTLIBS += \ … … 29 27 $(BOOST_LIB) 30 28 31 AtomObserverUnitTest_SOURCES = \29 AtomObserverUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 32 30 ../Atom/unittests/AtomObserverUnitTest.cpp \ 33 31 ../Atom/unittests/AtomObserverUnitTest.hpp \ … … 36 34 AtomObserverUnitTest_LDADD = ${ATOMTESTLIBS} 37 35 38 CopyAtomsInterfaceUnitTest_SOURCES = \36 CopyAtomsInterfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 39 37 ../Atom/unittests/CopyAtomsInterfaceUnitTest.cpp \ 40 38 ../Atom/unittests/CopyAtomsInterfaceUnitTest.hpp -
src/Descriptors/unittests/Makefile.am
ra91710 r4c9101 19 19 20 20 DESCRIPTORLIBS = \ 21 libUnitTest.la \22 ../libMolecuilder.la \23 21 ../libMolecuilderUI.la 24 22 if CONDJOBMARKET … … 32 30 33 31 34 AtomDescriptorUnitTest_SOURCES = \32 AtomDescriptorUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 35 33 ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \ 36 34 ../Descriptors/unittests/AtomDescriptorUnitTest.hpp 37 35 AtomDescriptorUnitTest_LDADD = ${DESCRIPTORLIBS} 38 36 39 MoleculeDescriptorTest_SOURCES = \37 MoleculeDescriptorTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 40 38 ../Descriptors/unittests/MoleculeDescriptorUnitTest.cpp \ 41 39 ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp -
src/Element/unittests/Makefile.am
ra91710 r4c9101 22 22 23 23 ELEMENTLIBS = \ 24 libUnitTest.la \25 ../libMolecuilder.la \26 24 ../libMolecuilderElement.la \ 27 25 ../libMolecuilderHelpers.la \ 28 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \29 26 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \ 30 27 ${CodePatterns_LIBS} 31 28 32 ElementUnitTest_SOURCES = \29 ElementUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 33 30 ../Element/unittests/ElementUnitTest.cpp \ 34 31 ../Element/unittests/ElementUnitTest.hpp 35 32 ElementUnitTest_LDADD = $(ELEMENTLIBS) 36 33 37 IonUnitTest_SOURCES = \34 IonUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 38 35 ../Element/unittests/IonUnitTest.cpp \ 39 36 ../Element/unittests/IonUnitTest.hpp 40 37 IonUnitTest_LDADD = $(ELEMENTLIBS) 41 38 42 PeriodentafelUnitTest_SOURCES = \39 PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 43 40 ../Element/unittests/PeriodentafelUnitTest.cpp \ 44 41 ../Element/unittests/PeriodentafelUnitTest.hpp -
src/Filling/unittests/Makefile.am
ra91710 r4c9101 34 34 35 35 FILLINGLIBS = \ 36 libUnitTest.la \37 ../libMolecuilder.la \38 36 ../libMolecuilderFilling.la \ 39 ../libMolecuilder Shapes.la \40 ../libMolecuilder UI.la37 ../libMolecuilderUI.la \ 38 ../libMolecuilder.la 41 39 if CONDJOBMARKET 42 40 FILLINGLIBS += \ … … 48 46 $(BOOST_LIB) 49 47 50 ClusterUnitTest_SOURCES = \48 ClusterUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 51 49 ../Filling/unittests/ClusterUnitTest.cpp \ 52 50 ../Filling/unittests/ClusterUnitTest.hpp 53 51 ClusterUnitTest_LDADD = $(FILLINGLIBS) 54 52 55 FillerUnitTest_SOURCES = \53 FillerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 56 54 ../Filling/unittests/FillerUnitTest.cpp \ 57 55 ../Filling/unittests/FillerUnitTest.hpp 58 56 FillerUnitTest_LDADD = $(FILLINGLIBS) 59 57 60 IsInsideDomain_FillPredicateUnitTest_SOURCES = \58 IsInsideDomain_FillPredicateUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 61 59 ../Filling/unittests/IsInsideDomain_FillPredicateUnitTest.cpp \ 62 60 ../Filling/unittests/IsInsideDomain_FillPredicateUnitTest.hpp 63 61 IsInsideDomain_FillPredicateUnitTest_LDADD = $(FILLINGLIBS) 64 62 65 IsInsideSurface_FillPredicateUnitTest_SOURCES = \63 IsInsideSurface_FillPredicateUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 66 64 ../Filling/unittests/IsInsideSurface_FillPredicateUnitTest.cpp \ 67 65 ../Filling/unittests/IsInsideSurface_FillPredicateUnitTest.hpp 68 66 IsInsideSurface_FillPredicateUnitTest_LDADD = $(FILLINGLIBS) 69 67 70 IsValidInDomain_FillPredicateUnitTest_SOURCES = \68 IsValidInDomain_FillPredicateUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 71 69 ../Filling/unittests/IsValidInDomain_FillPredicateUnitTest.cpp \ 72 70 ../Filling/unittests/IsValidInDomain_FillPredicateUnitTest.hpp 73 71 IsValidInDomain_FillPredicateUnitTest_LDADD = $(FILLINGLIBS) 74 72 75 IsVoidNode_FillPredicateUnitTest_SOURCES = \73 IsVoidNode_FillPredicateUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 76 74 ../Filling/unittests/IsVoidNode_FillPredicateUnitTest.cpp \ 77 75 ../Filling/unittests/IsVoidNode_FillPredicateUnitTest.hpp 78 76 IsVoidNode_FillPredicateUnitTest_LDADD = $(FILLINGLIBS) 79 77 80 Ops_FillPredicateUnitTest_SOURCES = \78 Ops_FillPredicateUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 81 79 ../Filling/unittests/Ops_FillPredicateUnitTest.cpp \ 82 80 ../Filling/unittests/Ops_FillPredicateUnitTest.hpp -
src/Fragmentation/Automation/MPQCCommandFragmentController.cpp
ra91710 r4c9101 74 74 // job->DoValenceOnly = _DoValenceOnly; 75 75 #ifndef HAVE_JOBMARKET 76 JobId_t id = getAvailableId(); 77 if (id == (JobId_t)JobId::IllegalJob) { 78 queue.clear(); 79 break; 80 } 81 job->setId(id); 76 job->setId(getAvailableId()); 82 77 if (!_executable.empty()) 83 78 job->setCommand(_executable); -
src/Fragmentation/Automation/MPQCFragmentController.cpp
ra91710 r4c9101 67 67 job->DoValenceOnly = _DoValenceOnly; 68 68 JobId_t id = getAvailableId(); 69 if (id == (JobId_t)JobId::IllegalJob) {69 if (id == FragmentJob::IllegalJob) { 70 70 status = false; 71 71 break; … … 74 74 } 75 75 // add the jobs 76 if (status) 77 addJobs(newjobs); 76 addJobs(newjobs); 78 77 status &= (newjobs.size() != 0); 79 78 -
src/Fragmentation/Automation/Makefile.am
ra91710 r4c9101 40 40 noinst_LTLIBRARIES += libMolecuilderFragmentationAutomation.la 41 41 libMolecuilderFragmentationAutomation_la_includedir = $(includedir)/MoleCuilder/ 42 libMolecuilderFragmentationAutomation_la_CPPFLAGS = $ (AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(JobMarket_CFLAGS)42 libMolecuilderFragmentationAutomation_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(JobMarket_CFLAGS) 43 43 libMolecuilderFragmentationAutomation_la_LDFLAGS = -ldl ${BOOST_LDFLAGS} 44 44 libMolecuilderFragmentationAutomation_la_LIBADD = \ -
src/Fragmentation/Automation/SpecificFragmentController_ReceiveResultContainer_impl.hpp
ra91710 r4c9101 32 32 // convert 33 33 std::vector<T> fragmentData; 34 SpecificFragmentController::ReceiveResultContainer<T>::ConvertFragmentResultTo( 35 fragmentresults, 36 fragmentData); 34 ConvertFragmentResultTo(fragmentresults, fragmentData); 37 35 38 36 // insert into map 39 SpecificFragmentController::ReceiveResultContainer<T>::insertResults( 40 fragmentresults, 41 fragmentData); 37 insertResults(fragmentresults, fragmentData); 42 38 43 39 return fragmentData.size(); -
src/Fragmentation/Exporters/unittests/Makefile.am
ra91710 r4c9101 22 22 23 23 FRAGMENTATIONEXPORTERSLIBS = \ 24 libUnitTest.la \25 ../libMolecuilder.la \26 24 ../libMolecuilderFragmentation.la \ 27 25 ${CodePatterns_LIBS} \ 28 26 $(BOOST_LIB) 29 27 30 HydrogenPoolUnitTest_SOURCES = \28 HydrogenPoolUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 31 29 ../Fragmentation/Exporters/unittests/HydrogenPoolUnitTest.cpp \ 32 30 ../Fragmentation/Exporters/unittests/HydrogenPoolUnitTest.hpp … … 35 33 ${FRAGMENTATIONEXPORTERSLIBS} 36 34 37 SaturatedFragmentUnitTest_SOURCES = \35 SaturatedFragmentUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 38 36 ../Fragmentation/Exporters/unittests/SaturatedFragmentUnitTest.cpp \ 39 37 ../Fragmentation/Exporters/unittests/SaturatedFragmentUnitTest.hpp … … 43 41 ${FRAGMENTATIONEXPORTERSLIBS} 44 42 45 SaturationDistanceMaximizerUnitTest_SOURCES = \43 SaturationDistanceMaximizerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 46 44 ../Fragmentation/Exporters/unittests/SaturationDistanceMaximizerUnitTest.cpp \ 47 45 ../Fragmentation/Exporters/unittests/SaturationDistanceMaximizerUnitTest.hpp \ -
src/Fragmentation/Homology/unittests/Makefile.am
ra91710 r4c9101 25 25 26 26 FRAGMENTATIONHOMOLOGYLIBS = \ 27 libUnitTest.la \28 ../libMolecuilder.la \29 27 ../libMolecuilderFragmentationSetValues.la \ 30 28 ../libMolecuilderFragmentation.la \ … … 35 33 $(BOOST_LIB) 36 34 37 FragmentEdgeUnitTest_SOURCES = \35 FragmentEdgeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 38 36 ../Fragmentation/Homology/unittests/FragmentEdgeUnitTest.cpp \ 39 37 ../Fragmentation/Homology/unittests/FragmentEdgeUnitTest.hpp 40 38 FragmentEdgeUnitTest_LDADD = ${FRAGMENTATIONHOMOLOGYLIBS} 41 39 42 FragmentNodeUnitTest_SOURCES = \40 FragmentNodeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 43 41 ../Fragmentation/Homology/unittests/FragmentNodeUnitTest.cpp \ 44 42 ../Fragmentation/Homology/unittests/FragmentNodeUnitTest.hpp 45 43 FragmentNodeUnitTest_LDADD = ${FRAGMENTATIONHOMOLOGYLIBS} 46 44 47 HomologyContainerUnitTest_SOURCES = \45 HomologyContainerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 48 46 ../Fragmentation/Homology/unittests/HomologyContainerUnitTest.cpp \ 49 47 ../Fragmentation/Homology/unittests/HomologyContainerUnitTest.hpp \ … … 56 54 $(BOOST_LIB) 57 55 58 HomologyGraphUnitTest_SOURCES = \56 HomologyGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 59 57 ../Fragmentation/Homology/unittests/HomologyGraphUnitTest.cpp \ 60 58 ../Fragmentation/Homology/unittests/HomologyGraphUnitTest.hpp -
src/Fragmentation/Interfragmenter.cpp
ra91710 r4c9101 136 136 // create a lookup specific to this fragment 137 137 atomkeyset_t fragmentmap; 138 for (candidates_t::const_iterator candidateiter = candidates.begin();139 candidateiter != candidates.end(); ++candidateiter) {140 const atom * _atom = * candidateiter;138 for (candidates_t::const_iterator iter = candidates.begin(); 139 iter != candidates.end(); ++iter) { 140 const atom * _atom = *iter; 141 141 atomkeyset_t::const_iterator iter = atomkeyset.find(_atom); 142 142 ASSERT( iter != atomkeyset.end(), … … 153 153 const atom *_atom = *candidateiter; 154 154 LOG(3, "DEBUG: Current candidate is " << *_atom << "."); 155 atomkeyset_t::iterator finditer = fragmentmap.find(_atom);156 ASSERT( finditer != fragmentmap.end(),155 atomkeyset_t::iterator iter = fragmentmap.find(_atom); 156 ASSERT( iter != fragmentmap.end(), 157 157 "Interfragmenter::operator() - could not find atom " 158 158 +toString(_atom->getId())+" in fragment specific lookup."); 159 keysets_t &othersets = finditer->second;159 keysets_t &othersets = iter->second; 160 160 keysets_t::iterator otheriter = othersets.begin(); 161 161 while (otheriter != othersets.end()) { -
src/Fragmentation/Summation/Containers/Makefile.am
ra91710 r4c9101 41 41 noinst_LTLIBRARIES += libMolecuilderFragmentationContainers.la 42 42 libMolecuilderFragmentationContainers_la_includedir = $(includedir)/MoleCuilder/ 43 libMolecuilderFragmentationContainers_la_CPPFLAGS = $ (AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(JobMarket_CFLAGS)43 libMolecuilderFragmentationContainers_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(JobMarket_CFLAGS) 44 44 libMolecuilderFragmentationContainers_la_LDFLAGS = -ldl ${BOOST_LDFLAGS} 45 45 libMolecuilderFragmentationContainers_la_LIBADD = \ -
src/Fragmentation/Summation/Containers/unittests/Makefile.am
ra91710 r4c9101 17 17 18 18 FRAGMENTATIONCONTAINERLIBS = \ 19 libUnitTest.la \20 ../libMolecuilder.la \21 19 ../libMolecuilderFragmentationSummation.la \ 22 20 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \ … … 26 24 27 25 MPQCDataUnitTest_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl 28 MPQCDataUnitTest_CPPFLAGS = $ (AM_CPPFLAGS) ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}29 MPQCDataUnitTest_SOURCES = \26 MPQCDataUnitTest_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS} 27 MPQCDataUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 30 28 ../Fragmentation/Summation/Containers/unittests/MPQCDataUnitTest.cpp \ 31 29 ../Fragmentation/Summation/Containers/unittests/MPQCDataUnitTest.hpp -
src/Fragmentation/Summation/Converter/Makefile.am
ra91710 r4c9101 10 10 noinst_LTLIBRARIES += libMolecuilderFragmentationConverter.la 11 11 libMolecuilderFragmentationConverter_la_includedir = $(includedir)/MoleCuilder/ 12 libMolecuilderFragmentationConverter_la_CPPFLAGS = $ (AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}12 libMolecuilderFragmentationConverter_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} 13 13 libMolecuilderFragmentationConverter_la_LDFLAGS = -ldl ${BOOST_LDFLAGS} 14 14 libMolecuilderFragmentationConverter_la_LIBADD = \ -
src/Fragmentation/Summation/Makefile.am
ra91710 r4c9101 34 34 lib_LTLIBRARIES += libMolecuilderFragmentationSummation.la 35 35 libMolecuilderFragmentationSummation_la_includedir = $(includedir)/MoleCuilder/ 36 libMolecuilderFragmentationSummation_la_CPPFLAGS = $ (AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}36 libMolecuilderFragmentationSummation_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} 37 37 libMolecuilderFragmentationSummation_la_LDFLAGS = -ldl \ 38 38 $(BOOST_SERIALIZATION_LDFLAGS) \ -
src/Fragmentation/Summation/SetValues/Makefile.am
ra91710 r4c9101 22 22 noinst_LTLIBRARIES += libMolecuilderFragmentationSetValues.la 23 23 libMolecuilderFragmentationSetValues_la_includedir = $(includedir)/MoleCuilder/ 24 libMolecuilderFragmentationSetValues_la_CPPFLAGS = $ (AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}24 libMolecuilderFragmentationSetValues_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} 25 25 libMolecuilderFragmentationSetValues_la_LDFLAGS = -ldl ${BOOST_LDFLAGS} 26 26 libMolecuilderFragmentationSetValues_la_LIBADD = \ -
src/Fragmentation/Summation/SetValues/unittests/Makefile.am
ra91710 r4c9101 31 31 32 32 FRAGMENTATIONSETVALUESLIBS = \ 33 libUnitTest.la \34 ../libMolecuilder.la \35 33 ../libMolecuilderFragmentationSetValues.la \ 36 34 ${CodePatterns_LIBS} \ 37 35 $(BOOST_LIB) 38 36 39 EigenvaluesUnitTest_SOURCES = \37 EigenvaluesUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 40 38 ../Fragmentation/Summation/SetValues/unittests/EigenvaluesUnitTest.cpp \ 41 39 ../Fragmentation/Summation/SetValues/unittests/EigenvaluesUnitTest.hpp … … 44 42 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) 45 43 46 FragmentUnitTest_SOURCES = \44 FragmentUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 47 45 ../Fragmentation/Summation/SetValues/unittests/FragmentUnitTest.cpp \ 48 46 ../Fragmentation/Summation/SetValues/unittests/FragmentUnitTest.hpp … … 51 49 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) 52 50 53 HistogramUnitTest_SOURCES = \51 HistogramUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 54 52 ../Fragmentation/Summation/SetValues/unittests/HistogramUnitTest.cpp \ 55 53 ../Fragmentation/Summation/SetValues/unittests/HistogramUnitTest.hpp 56 54 HistogramUnitTest_LDADD = ${FRAGMENTATIONSETVALUESLIBS} 57 55 58 IndexedVectorsUnitTest_SOURCES = \56 IndexedVectorsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 59 57 ../Fragmentation/Summation/SetValues/unittests/IndexedVectorsUnitTest.cpp \ 60 58 ../Fragmentation/Summation/SetValues/unittests/IndexedVectorsUnitTest.hpp 61 59 IndexedVectorsUnitTest_LDADD = ${FRAGMENTATIONSETVALUESLIBS} 62 60 63 SamplingGridPropertiesUnitTest_SOURCES = \61 SamplingGridPropertiesUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 64 62 ../Fragmentation/Summation/SetValues/unittests/SamplingGridPropertiesUnitTest.cpp \ 65 63 ../Fragmentation/Summation/SetValues/unittests/SamplingGridPropertiesUnitTest.hpp 66 64 SamplingGridPropertiesUnitTest_LDADD = ${FRAGMENTATIONSETVALUESLIBS} 67 65 68 SamplingGridUnitTest_SOURCES = \66 SamplingGridUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 69 67 ../Fragmentation/Summation/SetValues/unittests/SamplingGridUnitTest.cpp \ 70 68 ../Fragmentation/Summation/SetValues/unittests/SamplingGridUnitTest.hpp -
src/Fragmentation/Summation/unittests/Makefile.am
ra91710 r4c9101 34 34 35 35 FRAGMENTATIONSUMMATIONLIBS = \ 36 libUnitTest.la \37 ../libMolecuilder.la \38 36 ../libMolecuilderFragmentationSummation.la \ 39 37 ${CodePatterns_LIBS} \ … … 41 39 42 40 43 IndexSetUnitTest_SOURCES = \41 IndexSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 44 42 ../Fragmentation/Summation/unittests/IndexSetUnitTest.cpp \ 45 43 ../Fragmentation/Summation/unittests/IndexSetUnitTest.hpp 46 44 IndexSetUnitTest_LDADD = ${FRAGMENTATIONSUMMATIONLIBS} 47 45 48 IndexSetContainerUnitTest_SOURCES = \46 IndexSetContainerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 49 47 ../Fragmentation/Summation/unittests/IndexSetContainerUnitTest.cpp \ 50 48 ../Fragmentation/Summation/unittests/IndexSetContainerUnitTest.hpp … … 55 53 ${FRAGMENTATIONSUMMATIONLIBS} 56 54 57 OrthogonalSummationUnitTest_SOURCES = \55 OrthogonalSummationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 58 56 ../Fragmentation/Summation/unittests/OrthogonalSummationUnitTest.cpp \ 59 57 ../Fragmentation/Summation/unittests/OrthogonalSummationUnitTest.hpp \ … … 62 60 OrthogonalSummationUnitTest_LDADD = ${FRAGMENTATIONSUMMATIONLIBS} 63 61 64 SetValueUnitTest_SOURCES = \62 SetValueUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 65 63 ../Fragmentation/Summation/unittests/SetValueUnitTest.cpp \ 66 64 ../Fragmentation/Summation/unittests/SetValueUnitTest.hpp \ … … 69 67 SetValueUnitTest_LDADD = ${FRAGMENTATIONSUMMATIONLIBS} 70 68 71 SetValueMapUnitTest_SOURCES = \69 SetValueMapUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 72 70 ../Fragmentation/Summation/unittests/SetValueMapUnitTest.cpp \ 73 71 ../Fragmentation/Summation/unittests/SetValueMapUnitTest.hpp 74 72 SetValueMapUnitTest_LDADD = ${FRAGMENTATIONSUMMATIONLIBS} 75 73 76 SubsetMapUnitTest_SOURCES = \74 SubsetMapUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 77 75 ../Fragmentation/Summation/unittests/SubsetMapUnitTest.cpp \ 78 76 ../Fragmentation/Summation/unittests/SubsetMapUnitTest.hpp 79 77 SubsetMapUnitTest_LDADD = ${FRAGMENTATIONSUMMATIONLIBS} 80 78 81 SummationUnitTest_SOURCES = \79 SummationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 82 80 ../Fragmentation/Summation/unittests/SummationUnitTest.cpp \ 83 81 ../Fragmentation/Summation/unittests/SummationUnitTest.hpp \ -
src/Fragmentation/unittests/Makefile.am
ra91710 r4c9101 19 19 20 20 FRAGMENTATIONLIBS = \ 21 libUnitTest.la \22 ../libMolecuilder.la \23 21 ../libMolecuilderFragmentation.la \ 24 22 ../libMolecuilderFragmentation_KeysetsContainer.la \ … … 28 26 29 27 30 KeySetsContainerUnitTest_SOURCES = \28 KeySetsContainerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 31 29 ../Fragmentation/unittests/KeySetsContainerUnitTest.cpp \ 32 30 ../Fragmentation/unittests/KeySetsContainerUnitTest.hpp 33 31 KeySetsContainerUnitTest_LDADD = ${FRAGMENTATIONLIBS} 34 32 35 MatrixContainerUnitTest_SOURCES = \33 MatrixContainerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 36 34 ../Fragmentation/unittests/MatrixContainerUnitTest.cpp \ 37 35 ../Fragmentation/unittests/MatrixContainerUnitTest.hpp -
src/FunctionApproximation/unittests/Makefile.am
ra91710 r4c9101 19 19 20 20 FUNCTIONAPPROXIMATIONLIBS = \ 21 libUnitTest.la \22 ../libMolecuilder.la \23 21 ../libMolecuilderFunctionApproximation.la \ 24 22 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ … … 27 25 $(BOOST_LIB) 28 26 29 ExtractorsUnitTest_SOURCES = \27 ExtractorsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 30 28 ../FunctionApproximation/unittests/ExtractorsUnitTest.cpp \ 31 29 ../FunctionApproximation/unittests/ExtractorsUnitTest.hpp … … 34 32 ${FUNCTIONAPPROXIMATIONLIBS} 35 33 36 FunctionArgumentUnitTest_SOURCES = \34 FunctionArgumentUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 37 35 ../FunctionApproximation/unittests/FunctionArgumentUnitTest.cpp \ 38 36 ../FunctionApproximation/unittests/FunctionArgumentUnitTest.hpp -
src/Graph/unittests/Makefile.am
ra91710 r4c9101 20 20 21 21 GRAPHLIBS = \ 22 libUnitTest.la \23 ../libMolecuilder.la \24 22 ../libMolecuilderUI.la \ 25 23 ../libMolecuilderGraph.la … … 34 32 35 33 36 AdjacencyListUnitTest_SOURCES = \34 AdjacencyListUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 37 35 ../Graph/unittests/AdjacencyListUnitTest.cpp \ 38 36 ../Graph/unittests/AdjacencyListUnitTest.hpp 39 37 AdjacencyListUnitTest_LDADD = ${ALLLIBS} 40 38 41 BondGraphUnitTest_SOURCES = \39 BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 42 40 ../Graph/unittests/BondGraphUnitTest.cpp \ 43 41 ../Graph/unittests/BondGraphUnitTest.hpp -
src/Jobs/Makefile.am
ra91710 r4c9101 56 56 libMolecuilderJobs_la_includedir = $(includedir)/MoleCuilder/ 57 57 nobase_libMolecuilderJobs_la_include_HEADERS = $(JOBSHEADER) 58 libMolecuilderJobs_la_CPPFLAGS = $ (AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} -Dvmg_float=double -Dvmg_int=int $(VMG_CFLAGS)58 libMolecuilderJobs_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} -Dvmg_float=double -Dvmg_int=int $(VMG_CFLAGS) 59 59 libMolecuilderJobs_la_LDFLAGS = $(AM_LDFLAGS) \ 60 60 $(BOOST_IOSTREAMS_LDFLAGS) \ -
src/Jobs/unittests/Makefile.am
ra91710 r4c9101 17 17 18 18 JOBSLIBS = \ 19 libUnitTest.la \20 ../libMolecuilder.la \21 19 ../libMolecuilderJobs.la \ 22 20 ../libMolecuilderFragmentationContainers.la \ … … 29 27 30 28 MPQCCommandJobUnitTest_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl 31 MPQCCommandJobUnitTest_CPPFLAGS = $ (AM_CPPFLAGS) ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS}32 MPQCCommandJobUnitTest_SOURCES = \29 MPQCCommandJobUnitTest_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} 30 MPQCCommandJobUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 33 31 ../Jobs/unittests/MPQCCommandJobUnitTest.cpp \ 34 32 ../Jobs/unittests/MPQCCommandJobUnitTest.hpp -
src/LinkedCell/unittests/Makefile.am
ra91710 r4c9101 29 29 30 30 LINKEDCELLLIBS = \ 31 libUnitTest.la \32 ../libMolecuilder.la \33 31 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 34 32 ${CodePatterns_LIBS} \ 35 33 $(BOOST_LIB) 36 34 37 linkedcellUnitTest_SOURCES = \35 linkedcellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 38 36 ../LinkedCell/unittests/linkedcellUnitTest.cpp \ 39 37 ../LinkedCell/unittests/linkedcellUnitTest.hpp … … 48 46 $(LINKEDCELLLIBS) 49 47 50 LinkedCellUnitTest_SOURCES = \48 LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 51 49 ../LinkedCell/unittests/LinkedCellUnitTest.cpp \ 52 50 ../LinkedCell/unittests/LinkedCellUnitTest.hpp \ … … 56 54 $(LINKEDCELLLIBS) 57 55 58 LinkedCell_ControllerUnitTest_SOURCES = \56 LinkedCell_ControllerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 59 57 ../LinkedCell/unittests/LinkedCell_ControllerUnitTest.cpp \ 60 58 ../LinkedCell/unittests/LinkedCell_ControllerUnitTest.hpp \ … … 66 64 ../LinkedCell/unittests/stubs/WorldTimeStub.cpp \ 67 65 stubs/WorldStub.cpp \ 68 ../LinkedCell/PointCloudAdaptor.hpp 66 ../LinkedCell/PointCloudAdaptor.hpp \ 67 ../Box_BoundaryConditions.cpp \ 68 ../Box_BoundaryConditions.hpp 69 69 LinkedCell_ControllerUnitTest_LDADD = \ 70 ../libMolecuilderUI.la \ 71 ../libMolecuilder.la 72 if CONDJOBMARKET 73 LinkedCell_ControllerUnitTest_LDADD += \ 74 ../libMolecuilderJobs.la 75 endif 76 LinkedCell_ControllerUnitTest_LDADD += \ 70 ../libMolecuilderLinkedCell.la \ 77 71 $(LINKEDCELLLIBS) 78 72 79 LinkedCell_ModelUnitTest_SOURCES = \73 LinkedCell_ModelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 80 74 ../LinkedCell/unittests/LinkedCell_ModelUnitTest.cpp \ 81 75 ../LinkedCell/unittests/LinkedCell_ModelUnitTest.hpp \ … … 91 85 $(LINKEDCELLLIBS) 92 86 93 LinkedCell_ViewUnitTest_SOURCES = \87 LinkedCell_ViewUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 94 88 ../LinkedCell/unittests/LinkedCell_ViewUnitTest.cpp \ 95 89 ../LinkedCell/unittests/LinkedCell_ViewUnitTest.hpp \ -
src/Makefile.am
ra91710 r4c9101 10 10 EXTRA_DIST = 11 11 12 # libMolecuilder.la requires the libraries listed below 13 12 include Actions/Makefile.am 13 include Analysis/Makefile.am 14 include Atom/Makefile.am 15 include Element/Makefile.am 16 include Filling/Makefile.am 17 include Fragmentation/Makefile.am 18 include Fragmentation/Automation/Makefile.am 19 include Fragmentation/Summation/Containers/Makefile.am 20 include Fragmentation/Summation/Converter/Makefile.am 21 include Fragmentation/Summation/Makefile.am 22 include Fragmentation/Summation/SetValues/Makefile.am 23 include FunctionApproximation/Makefile.am 24 include Graph/Makefile.am 14 25 include Helpers/Makefile.am 26 include Jobs/Makefile.am 27 28 if CONDPYTHON 29 include Python/Makefile.am 30 endif 31 32 include LinkedCell/Makefile.am 33 include Parameters/Makefile.am 34 include Parser/Makefile.am 35 include Potentials/Makefile.am 36 include RandomNumbers/Makefile.am 15 37 include Shapes/Makefile.am 16 38 include Tesselation/Makefile.am 17 18 # then comes the library itself 39 include UIElements/Makefile.am 19 40 20 41 AM_LDFLAGS = -ldl ${BOOST_LDFLAGS} ${CodePatterns_LDFLAGS} 21 AM_CPPFLAGS = \ 22 -I$(top_srcdir)/src/unittests \ 23 -I$(top_srcdir)/src/Actions \ 24 -I$(top_srcdir)/src/UIElements \ 25 -I$(top_srcdir)/LinearAlgebra/src \ 26 ${BOOST_CPPFLAGS} \ 27 ${CodePatterns_CFLAGS} 28 42 AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} 29 43 30 44 BONDSOURCE = \ … … 181 195 WorldTime.hpp 182 196 183 lib_LTLIBRARIES += libMolecuilder.la197 noinst_LTLIBRARIES += libMolecuilder.la 184 198 libMolecuilder_la_includedir = $(includedir)/MoleCuilder/ 185 199 libMolecuilder_la_LDFLAGS = \ … … 191 205 libMolecuilderTesselation.la \ 192 206 libMolecuilderShapes.la \ 193 libMolecuilderHelpers.la \194 207 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 195 208 ${CodePatterns_LIBS} \ … … 215 228 ## library file (.so). The library ABI version is defined in configure.ac, so 216 229 ## that all version information is kept in one place. 217 libMolecuilder_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)230 #libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION) 218 231 219 232 ## The generated configuration header is installed in its own subdirectory of … … 238 251 pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc 239 252 240 # then we compile the remainder of all other libraries, especially 241 # libMolecuilderUI.la, which requires libMolecuilder.la on install 242 243 include Actions/Makefile.am 244 include Analysis/Makefile.am 245 include Atom/Makefile.am 246 include Element/Makefile.am 247 include Filling/Makefile.am 248 include Fragmentation/Makefile.am 249 include Fragmentation/Automation/Makefile.am 250 include Fragmentation/Summation/Containers/Makefile.am 251 include Fragmentation/Summation/Converter/Makefile.am 252 include Fragmentation/Summation/Makefile.am 253 include Fragmentation/Summation/SetValues/Makefile.am 254 include FunctionApproximation/Makefile.am 255 include Graph/Makefile.am 256 include Jobs/Makefile.am 257 258 if CONDPYTHON 259 include Python/Makefile.am 260 endif 261 262 include LinkedCell/Makefile.am 263 include Parameters/Makefile.am 264 include Parser/Makefile.am 265 include Potentials/Makefile.am 266 include RandomNumbers/Makefile.am 267 include UIElements/Makefile.am 253 254 INCLUDES = \ 255 -I$(top_srcdir)/src/unittests \ 256 -I$(top_srcdir)/src/Actions \ 257 -I$(top_srcdir)/src/UIElements \ 258 -I$(top_srcdir)/LinearAlgebra/src 268 259 269 260 bin_PROGRAMS += molecuilder … … 292 283 Actions/GlobalListOfActions.hpp \ 293 284 Actions/ActionHistory.hpp 294 pyMoleCuilder_la_CPPFLAGS = $ (AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(JobMarket_CFLAGS) -I$(PYTHON_INCLUDE_DIR)285 pyMoleCuilder_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(JobMarket_CFLAGS) -I$(PYTHON_INCLUDE_DIR) 295 286 pyMoleCuilder_la_LDFLAGS = -module -avoid-version -shared $(BOOST_PYTHON_LDFLAGS) 296 287 pyMoleCuilder_la_LIBADD = \ … … 308 299 molecuilder_LDFLAGS = \ 309 300 $(AM_LDFLAGS) \ 310 $(CodePatterns_LDFLAGS) \311 301 $(BOOST_FILESYSTEM_LDFLAGS) \ 312 302 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \ … … 317 307 builder.cpp \ 318 308 builder_init.cpp \ 319 builder_init.hpp \ 320 Python/PythonScripting.hpp 309 builder_init.hpp 321 310 molecuilder_LDADD = \ 322 libMolecuilder.la \323 311 libMolecuilderUI.la 324 312 molecuilder_LDADD += \ 313 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 325 314 ${CodePatterns_LIBS} \ 326 315 $(BOOST_THREAD_LIBS) \ … … 358 347 $(BOOST_THREAD_LDFLAGS) 359 348 molecuildergui_LDADD = \ 360 libMolecuilder.la \361 349 libMolecuilderQtUI.la \ 362 350 libMolecuilderUI.la 363 351 molecuildergui_LDADD += \ 352 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 364 353 ${CodePatterns_LIBS} \ 365 354 $(BOOST_THREAD_LIBS) \ -
src/Parameters/Makefile.am
ra91710 r4c9101 33 33 Parameters/Parameter_impl.hpp \ 34 34 Parameters/ParameterInterface.hpp \ 35 Parameters/StreamOperators.hpp \36 35 Parameters/Validators/DiscreteValidator.hpp \ 37 36 Parameters/Validators/DiscreteValidator_impl.hpp \ -
src/Parameters/unittests/Makefile.am
ra91710 r4c9101 29 29 30 30 PARAMETERSLIBS = \ 31 libUnitTest.la \32 ../libMolecuilder.la \33 31 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 34 32 ${CodePatterns_LIBS} \ … … 36 34 37 35 38 ContinuousValueTest_SOURCES = \36 ContinuousValueTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 39 37 ../Parameters/unittests/ContinuousValueTest.cpp \ 40 38 ../Parameters/unittests/ContinuousValueTest.hpp \ … … 49 47 $(PARAMETERSLIBS) 50 48 51 ContinuousParameterTest_SOURCES = \49 ContinuousParameterTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 52 50 ../Parameters/unittests/ContinuousParameterTest.cpp \ 53 51 ../Parameters/unittests/ContinuousParameterTest.hpp \ … … 62 60 $(PARAMETERSLIBS) 63 61 64 DiscreteValueTest_SOURCES = \62 DiscreteValueTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 65 63 ../Parameters/unittests/DiscreteValueTest.cpp \ 66 64 ../Parameters/unittests/DiscreteValueTest.hpp \ … … 76 74 $(PARAMETERSLIBS) 77 75 78 DiscreteParameterTest_SOURCES = \76 DiscreteParameterTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 79 77 ../Parameters/unittests/DiscreteParameterTest.cpp \ 80 78 ../Parameters/unittests/DiscreteParameterTest.hpp \ … … 92 90 $(PARAMETERSLIBS) 93 91 94 Ops_ValidatorTest_SOURCES = \92 Ops_ValidatorTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 95 93 ../Parameters/unittests/Ops_ValidatorTest.cpp \ 96 94 ../Parameters/unittests/Ops_ValidatorTest.hpp \ -
src/Parser/Parameters/unittests/Makefile.am
ra91710 r4c9101 20 20 21 21 PARSERPARAMETERSLIBS = \ 22 libUnitTest.la \23 ../libMolecuilder.la \24 22 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 25 23 ${CodePatterns_LIBS} \ … … 27 25 28 26 29 ParameterStorageUnitTest_SOURCES = \27 ParameterStorageUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 30 28 ../Parser/Parameters/unittests/ParameterStorageUnitTest.cpp \ 31 ../Parser/Parameters/unittests/ParameterStorageUnitTest.hpp 29 ../Parser/Parameters/unittests/ParameterStorageUnitTest.hpp \ 30 ../Parser/Parameters/ParameterStorage.cpp \ 31 ../Parser/Parameters/ParameterStorage.hpp \ 32 ../Parameters/Parameter.hpp \ 33 ../Parameters/Validators/DummyValidator.hpp \ 34 ../Parameters/Validators/RangeValidator.hpp \ 35 ../Parameters/Validators/RangeValidator_impl.hpp \ 36 ../Parameters/Validators/Validator.hpp \ 37 ../Parameters/Value.hpp \ 38 ../Parameters/Value_impl.hpp \ 39 ../Parameters/ValueInterface.hpp 32 40 ParameterStorageUnitTest_LDADD = \ 33 ../libMolecuilderParser.la \ 34 $(PARSERPARAMETERSLIBS) 41 $(PARSERPARAMETERSLIBS) 35 42 36 StringParameterUnitTest_SOURCES = \43 StringParameterUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 37 44 ../Parser/Parameters/unittests/StringParameterUnitTest.cpp \ 38 ../Parser/Parameters/unittests/StringParameterUnitTest.hpp 45 ../Parser/Parameters/unittests/StringParameterUnitTest.hpp \ 46 ../Parameters/StreamOperators.hpp \ 47 ../Parameters/Validators/DiscreteValidator.hpp \ 48 ../Parameters/Validators/DiscreteValidator_impl.hpp \ 49 ../Parameters/Validators/DummyValidator.hpp \ 50 ../Parameters/Validators/RangeValidator.hpp \ 51 ../Parameters/Validators/RangeValidator_impl.hpp \ 52 ../Parameters/Validators/Validator.hpp \ 53 ../Parameters/Value.hpp \ 54 ../Parameters/Value_impl.hpp \ 55 ../Parameters/Value_string.hpp \ 56 ../Parameters/ValueInterface.hpp 39 57 StringParameterUnitTest_LDADD = \ 40 58 ../libMolecuilderParameters.la \ -
src/Parser/unittests/Makefile.am
ra91710 r4c9101 39 39 40 40 PARSERLIBS = \ 41 libUnitTest.la \42 ../libMolecuilder.la \43 41 ../libMolecuilderUI.la 44 42 if CONDJOBMARKET … … 52 50 53 51 54 ParserMpqcUnitTest_SOURCES = \52 ParserMpqcUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 55 53 ../Parser/unittests/ParserMpqcUnitTest.cpp \ 56 54 ../Parser/unittests/ParserMpqcUnitTest.hpp 57 55 ParserMpqcUnitTest_LDADD = ${PARSERLIBS} 58 56 59 ParserPcpUnitTest_SOURCES = \57 ParserPcpUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 60 58 ../Parser/unittests/ParserPcpUnitTest.cpp \ 61 59 ../Parser/unittests/ParserPcpUnitTest.hpp 62 60 ParserPcpUnitTest_LDADD = ${PARSERLIBS} 63 61 64 ParserPdbUnitTest_SOURCES = \62 ParserPdbUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 65 63 ../Parser/unittests/ParserPdbUnitTest.cpp \ 66 64 ../Parser/unittests/ParserPdbUnitTest.hpp 67 65 ParserPdbUnitTest_LDADD = ${PARSERLIBS} 68 66 69 ParserPsi3UnitTest_SOURCES = \67 ParserPsi3UnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 70 68 ../Parser/unittests/ParserPsi3UnitTest.cpp \ 71 69 ../Parser/unittests/ParserPsi3UnitTest.hpp 72 70 ParserPsi3UnitTest_LDADD = ${PARSERLIBS} 73 71 74 ParserTremoloUnitTest_SOURCES = \72 ParserTremoloUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 75 73 ../Parser/unittests/ParserTremoloUnitTest.cpp \ 76 74 ../Parser/unittests/ParserTremoloUnitTest.hpp 77 75 ParserTremoloUnitTest_LDADD = ${PARSERLIBS} 78 76 79 ParserTremolo_ElementKeysUnitTest_SOURCES = \77 ParserTremolo_ElementKeysUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 80 78 ../Parser/unittests/ParserTremolo_ElementKeysUnitTest.cpp \ 81 79 ../Parser/unittests/ParserTremolo_ElementKeysUnitTest.hpp 82 80 ParserTremolo_ElementKeysUnitTest_LDADD = ${PARSERLIBS} 83 81 84 ParserXmlUnitTest_SOURCES = \82 ParserXmlUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 85 83 ../Parser/unittests/ParserXmlUnitTest.cpp \ 86 84 ../Parser/unittests/ParserXmlUnitTest.hpp 87 85 ParserXmlUnitTest_LDADD = ${PARSERLIBS} 88 86 89 ParserXyzUnitTest_SOURCES = \87 ParserXyzUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 90 88 ../Parser/unittests/ParserXyzUnitTest.cpp \ 91 89 ../Parser/unittests/ParserXyzUnitTest.hpp -
src/Potentials/Specifics/unittests/Makefile.am
ra91710 r4c9101 37 37 38 38 POTENTIALSSPECIFICSLIBS = \ 39 libUnitTest.la \40 ../libMolecuilder.la \41 39 ../libMolecuilderPotentials.la \ 42 40 ../libMolecuilderFragmentation.la \ … … 50 48 $(BOOST_LIB) 51 49 52 ConstantPotentialUnitTest_SOURCES = \50 ConstantPotentialUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 53 51 ../Potentials/Specifics/unittests/ConstantPotentialUnitTest.cpp \ 54 52 ../Potentials/Specifics/unittests/ConstantPotentialUnitTest.hpp 55 53 ConstantPotentialUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS} 56 54 57 FourBodyPotential_ImproperUnitTest_SOURCES = \55 FourBodyPotential_ImproperUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 58 56 ../Potentials/Specifics/unittests/FourBodyPotential_ImproperUnitTest.cpp \ 59 57 ../Potentials/Specifics/unittests/FourBodyPotential_ImproperUnitTest.hpp 60 58 FourBodyPotential_ImproperUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS} 61 59 62 FourBodyPotential_TorsionUnitTest_SOURCES = \60 FourBodyPotential_TorsionUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 63 61 ../Potentials/Specifics/unittests/FourBodyPotential_TorsionUnitTest.cpp \ 64 62 ../Potentials/Specifics/unittests/FourBodyPotential_TorsionUnitTest.hpp 65 63 FourBodyPotential_TorsionUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS} 66 64 67 ManyBodyPotential_TersoffUnitTest_SOURCES = \65 ManyBodyPotential_TersoffUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 68 66 ../Potentials/Specifics/unittests/ManyBodyPotential_TersoffUnitTest.cpp \ 69 67 ../Potentials/Specifics/unittests/ManyBodyPotential_TersoffUnitTest.hpp 70 68 ManyBodyPotential_TersoffUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS} 71 69 72 PairPotential_HarmonicUnitTest_SOURCES = \70 PairPotential_HarmonicUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 73 71 ../Potentials/Specifics/unittests/PairPotential_HarmonicUnitTest.cpp \ 74 72 ../Potentials/Specifics/unittests/PairPotential_HarmonicUnitTest.hpp 75 73 PairPotential_HarmonicUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS} 76 74 77 PairPotential_LennardJonesUnitTest_SOURCES = \75 PairPotential_LennardJonesUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 78 76 ../Potentials/Specifics/unittests/PairPotential_LennardJonesUnitTest.cpp \ 79 77 ../Potentials/Specifics/unittests/PairPotential_LennardJonesUnitTest.hpp 80 78 PairPotential_LennardJonesUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS} 81 79 82 PairPotential_MorseUnitTest_SOURCES = \80 PairPotential_MorseUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 83 81 ../Potentials/Specifics/unittests/PairPotential_MorseUnitTest.cpp \ 84 82 ../Potentials/Specifics/unittests/PairPotential_MorseUnitTest.hpp 85 83 PairPotential_MorseUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS} 86 84 87 ThreeBodyPotential_AngleUnitTest_SOURCES = \85 ThreeBodyPotential_AngleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 88 86 ../Potentials/Specifics/unittests/ThreeBodyPotential_AngleUnitTest.cpp \ 89 87 ../Potentials/Specifics/unittests/ThreeBodyPotential_AngleUnitTest.hpp -
src/Potentials/unittests/Makefile.am
ra91710 r4c9101 22 22 23 23 POTENTIALSLIBS = \ 24 libUnitTest.la \25 ../libMolecuilder.la \26 24 ../libMolecuilderPotentials.la \ 27 25 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ … … 30 28 $(BOOST_LIB) 31 29 32 CompoundPotentialUnitTest_SOURCES = \30 CompoundPotentialUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 33 31 ../Potentials/unittests/CompoundPotentialUnitTest.cpp \ 34 32 ../Potentials/unittests/CompoundPotentialUnitTest.hpp 35 33 CompoundPotentialUnitTest_LDADD = \ 36 libUnitTest.la \37 34 ../libMolecuilderPotentials.la \ 38 35 ../libMolecuilderFragmentation.la \ … … 46 43 $(BOOST_LIB) 47 44 48 PartialNucleiChargeFitterUnitTest_SOURCES = \45 PartialNucleiChargeFitterUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 49 46 ../Potentials/unittests/PartialNucleiChargeFitterUnitTest.cpp \ 50 47 ../Potentials/unittests/PartialNucleiChargeFitterUnitTest.hpp … … 53 50 ${POTENTIALSLIBS} 54 51 55 SerializablePotentialUnitTest_SOURCES = \52 SerializablePotentialUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 56 53 ../Potentials/unittests/SerializablePotentialUnitTest.cpp \ 57 54 ../Potentials/unittests/SerializablePotentialUnitTest.hpp \ -
src/RandomNumbers/Makefile.am
ra91710 r4c9101 1 1 # PLEASE adhere to the alphabetical ordering in this Makefile! 2 2 # Also indentation by a single tab 3 4 #INCLUDES = -I$(top_srcdir)/src 3 5 4 6 # Position-Independent Code necessary for shared library … … 40 42 41 43 lib_LTLIBRARIES += libMolecuilderRandomNumbers.la 42 libMolecuilderRandomNumbers_la_includedir = $(includedir)/MoleCuilder/ 43 libMolecuilderRandomNumbers_la_LIBADD = \ 44 ${CodePatterns_LIBS} 45 nobase_libMolecuilderRandomNumbers_la_include_HEADERS = ${RANDOMHEADER} ${RANDOMDEFS} 44 libMolecuilderRandomNumbers_includedir = $(includedir)/MoleCuilder/ 45 nobase_libMolecuilderRandomNumbers_include_HEADERS = ${RANDOMHEADER} ${RANDOMDEFS} 46 46 47 47 ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la" -
src/RandomNumbers/unittests/Makefile.am
ra91710 r4c9101 1 1 # PLEASE adhere to the alphabetical ordering in this Makefile! 2 2 # Also indentation by a single tab 3 4 #INCLUDES = -I$(top_srcdir)/src 3 5 4 6 #AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl ${BOOST_LDFLAGS} … … 28 30 29 31 RANDOMNUMBERLIBS = \ 30 libUnitTest.la \31 ../libMolecuilder.la \32 32 ../libMolecuilderRandomNumbers.la \ 33 33 ${CodePatterns_LIBS} \ 34 34 $(BOOST_LIB) 35 35 36 RandomNumberDistributionFactoryUnitTest_SOURCES = \36 RandomNumberDistributionFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 37 37 ../RandomNumbers/unittests/RandomNumberDistributionFactoryUnitTest.cpp \ 38 38 ../RandomNumbers/unittests/RandomNumberDistributionFactoryUnitTest.hpp 39 39 RandomNumberDistributionFactoryUnitTest_LDADD = ${RANDOMNUMBERLIBS} 40 40 41 RandomNumberEngineFactoryUnitTest_SOURCES = \41 RandomNumberEngineFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 42 42 ../RandomNumbers/unittests/RandomNumberEngineFactoryUnitTest.cpp \ 43 43 ../RandomNumbers/unittests/RandomNumberEngineFactoryUnitTest.hpp 44 44 RandomNumberEngineFactoryUnitTest_LDADD = ${RANDOMNUMBERLIBS} 45 45 46 RandomNumberGeneratorFactoryUnitTest_SOURCES = \46 RandomNumberGeneratorFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 47 47 ../RandomNumbers/unittests/RandomNumberGeneratorFactoryUnitTest.cpp \ 48 48 ../RandomNumbers/unittests/RandomNumberGeneratorFactoryUnitTest.hpp 49 49 RandomNumberGeneratorFactoryUnitTest_LDADD = ${RANDOMNUMBERLIBS} 50 50 51 RandomNumberGeneratorUnitTest_SOURCES = \51 RandomNumberGeneratorUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 52 52 ../RandomNumbers/unittests/RandomNumberGeneratorUnitTest.cpp \ 53 53 ../RandomNumbers/unittests/RandomNumberGeneratorUnitTest.hpp -
src/Shapes/Makefile.am
ra91710 r4c9101 21 21 lib_LTLIBRARIES += libMolecuilderShapes.la 22 22 libMolecuilderShapes_la_includedir = $(includedir)/MoleCuilder/ 23 libMolecuilderShapes_la_LIBADD = \24 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \25 ${CodePatterns_LIBS}26 23 nobase_libMolecuilderShapes_la_include_HEADERS = ${SHAPEHEADER} 27 24 -
src/Shapes/unittests/Makefile.am
ra91710 r4c9101 29 29 30 30 SHAPELIBS = \ 31 libUnitTest.la \ 32 ../libMolecuilder.la \ 33 ../libMolecuilderUI.la \ 31 ../libMolecuilderShapes.la \ 34 32 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 35 33 ${CodePatterns_LIBS} 36 34 # $(BOOST_LIB) 37 35 38 BaseShapesUnitTest_SOURCES = \36 BaseShapesUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 39 37 ../Shapes/unittests/BaseShapesUnitTest.cpp \ 40 38 ../Shapes/unittests/BaseShapesUnitTest.hpp \ 41 39 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \ 42 40 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp 43 BaseShapesUnitTest_LDADD = \ 44 ../libMolecuilderShapes.la \ 45 $(SHAPELIBS) 41 nodist_BaseShapesUnitTest_SOURCES = \ 42 ../Helpers/defs.hpp \ 43 ../Helpers/defs.cpp 44 BaseShapesUnitTest_LDADD = $(SHAPELIBS) 46 45 47 ShapeFactoryUnitTest_SOURCES = \46 ShapeFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 48 47 ../Shapes/unittests/ShapeFactoryUnitTest.cpp \ 49 48 ../Shapes/unittests/ShapeFactoryUnitTest.hpp \ … … 52 51 ../Shapes/unittests/stubs/moleculeStub.cpp \ 53 52 ../Shapes/unittests/stubs/WorldSelectedMoleculesStub.cpp 53 nodist_ShapeFactoryUnitTest_SOURCES = \ 54 ../Helpers/defs.hpp \ 55 ../Helpers/defs.cpp \ 56 ../Shapes/ShapeFactory.cpp \ 57 ../Shapes/ShapeFactory.hpp 54 58 ShapeFactoryUnitTest_LDADD = \ 55 ../libMolecuilder Shapes.la \59 ../libMolecuilderElement.la \ 56 60 $(SHAPELIBS) 57 61 58 ShapeOpsUnitTest_SOURCES = \62 ShapeOpsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 59 63 ../Shapes/unittests/ShapeOpsUnitTest.cpp \ 60 64 ../Shapes/unittests/ShapeOpsUnitTest.hpp \ 61 65 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \ 62 66 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp 63 ShapeOpsUnitTest_LDADD = \ 64 ../libMolecuilderShapes.la \ 65 $(SHAPELIBS) 67 nodist_ShapeOpsUnitTest_SOURCES = \ 68 ../Helpers/defs.hpp \ 69 ../Helpers/defs.cpp 70 ShapeOpsUnitTest_LDADD = $(SHAPELIBS) 66 71 67 ShapeRegistryUnitTest_SOURCES = \72 ShapeRegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 68 73 ../Shapes/unittests/ShapeRegistryUnitTest.cpp \ 69 74 ../Shapes/unittests/ShapeRegistryUnitTest.hpp \ 70 75 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \ 71 76 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp 72 ShapeRegistryUnitTest_LDADD = \ 73 ../libMolecuilderShapes.la \ 74 $(SHAPELIBS) 77 nodist_ShapeRegistryUnitTest_SOURCES = \ 78 ../Helpers/defs.hpp \ 79 ../Helpers/defs.cpp 80 ShapeRegistryUnitTest_LDADD = $(SHAPELIBS) 75 81 76 Shape_HomogeneousPointsUnitTest_SOURCES = \82 Shape_HomogeneousPointsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 77 83 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.cpp \ 78 84 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.hpp \ 79 85 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \ 80 86 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp 81 Shape_HomogeneousPointsUnitTest_LDADD = \ 82 ../libMolecuilderShapes.la \ 83 $(SHAPELIBS) 87 nodist_Shape_HomogeneousPointsUnitTest_SOURCES = \ 88 ../Helpers/defs.hpp \ 89 ../Helpers/defs.cpp 90 Shape_HomogeneousPointsUnitTest_LDADD = $(SHAPELIBS) 84 91 85 92 -
src/Tesselation/unittests/Makefile.am
ra91710 r4c9101 22 22 23 23 TESSELATIONLIBS = \ 24 libUnitTest.la \25 ../libMolecuilder.la \26 24 ../libMolecuilderUI.la \ 27 25 ../libMolecuilder.la … … 36 34 37 35 38 TesselationUnitTest_SOURCES = \36 TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 39 37 ../Tesselation/unittests/TesselationUnitTest.cpp \ 40 38 ../Tesselation/unittests/TesselationUnitTest.hpp 41 39 TesselationUnitTest_LDADD = ${TESSELATIONLIBS} 42 40 43 Tesselation_BoundaryTriangleUnitTest_SOURCES = \41 Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 44 42 ../Tesselation/unittests/Tesselation_BoundaryTriangleUnitTest.cpp \ 45 43 ../Tesselation/unittests/Tesselation_BoundaryTriangleUnitTest.hpp 46 44 Tesselation_BoundaryTriangleUnitTest_LDADD = ${TESSELATIONLIBS} 47 45 48 Tesselation_InOutsideUnitTest_SOURCES = \46 Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 49 47 ../Tesselation/unittests/Tesselation_InsideOutsideUnitTest.cpp \ 50 48 ../Tesselation/unittests/Tesselation_InsideOutsideUnitTest.hpp -
src/UIElements/CommandLineUI/unittests/Makefile.am
ra91710 r4c9101 15 15 noinst_PROGRAMS += $(UIELEMENTSCOMMANDLINEPARSERTESTS) 16 16 17 CommandLineParser_ActionRegistry_ConsistencyUnitTest_SOURCES = \17 CommandLineParser_ActionRegistry_ConsistencyUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 18 18 ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistencyUnitTest.cpp \ 19 19 ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistencyUnitTest.hpp 20 20 CommandLineParser_ActionRegistry_ConsistencyUnitTest_LDADD = \ 21 libUnitTest.la \22 ../libMolecuilder.la \23 21 ../libMolecuilderUI.la 24 22 if CONDJOBMARKET -
src/UIElements/Makefile.am
ra91710 r4c9101 226 226 lib_LTLIBRARIES += libMolecuilderUI.la 227 227 libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/ 228 libMolecuilderUI_la_CPPFLAGS = $ (AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}228 libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} 229 229 if CONDJOBMARKET 230 230 libMolecuilderUI_la_CPPFLAGS += ${JobMarket_CFLAGS} … … 344 344 345 345 libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/ 346 libMolecuilderQtUI_la_CPPFLAGS = $ (AM_CPPFLAGS) ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} $(mol_ac_qwt_cxxflags)346 libMolecuilderQtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} $(mol_ac_qwt_cxxflags) 347 347 libMolecuilderQtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(mol_ac_qwt_ldflags) 348 348 -
src/UIElements/Menu/unittests/Makefile.am
ra91710 r4c9101 19 19 20 20 MENULIBS = \ 21 libUnitTest.la \22 ../libMolecuilder.la \23 21 ../libMolecuilderUI.la 24 22 if CONDJOBMARKET … … 31 29 $(BOOST_LIB) 32 30 33 MenuDescriptionUnitTest_SOURCES = \31 MenuDescriptionUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 34 32 ../UIElements/Menu/unittests/MenuDescriptionUnitTest.cpp \ 35 ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp 33 ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \ 34 ../UIElements/Menu/MenuDescription.cpp \ 35 ../UIElements/Menu/MenuDescription.hpp 36 36 MenuDescriptionUnitTest_CXXFLAGS = -I$(top_srcdir)/src/UIElements 37 37 MenuDescriptionUnitTest_LDADD = $(MENULIBS) 38 38 39 MenuDescription_ActionRegistry_ConsistencyUnitTest_SOURCES = \39 MenuDescription_ActionRegistry_ConsistencyUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 40 40 ../UIElements/Menu/unittests/MenuDescription_ActionRegistry_ConsistencyUnitTest.cpp \ 41 41 ../UIElements/Menu/unittests/MenuDescription_ActionRegistry_ConsistencyUnitTest.hpp -
src/UIElements/Views/Qt4/Plotting/Makefile.am
ra91710 r4c9101 37 37 38 38 libMolecuilderQwtUI_la_includedir = $(includedir)/MoleCuilder/ 39 libMolecuilderQwtUI_la_CPPFLAGS = $ (AM_CPPFLAGS) ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} $(mol_ac_qwt_cxxflags)39 libMolecuilderQwtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} $(mol_ac_qwt_cxxflags) 40 40 libMolecuilderQwtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(mol_ac_qwt_ldflags) 41 41 -
src/builder_init.cpp
ra91710 r4c9101 54 54 #include "CodePatterns/Log.hpp" 55 55 56 //#include "Graph/BondGraph.hpp" 56 #include "Graph/BondGraph.hpp" 57 58 #include "Parser/ChangeTracker.hpp" 59 #include "Parser/FormatParserStorage.hpp" 57 60 58 61 #include "UIElements/UIFactory.hpp" … … 66 69 67 70 #include "version.h" 71 72 #include "World.hpp" 68 73 69 74 #include <boost/filesystem.hpp> … … 111 116 void initUI(int argc, char **argv) 112 117 { 113 //std::string BondGraphFileName("\n");118 std::string BondGraphFileName("\n"); 114 119 // Parse command line options and if present create respective UI 115 120 // construct bond graph 116 //if (boost::filesystem::exists(BondGraphFileName)) {117 //std::ifstream input(BondGraphFileName.c_str());118 //if ((input.good()) && (World::getInstance().getBondGraph()->LoadBondLengthTable(input))) {119 //LOG(0, "Bond length table loaded successfully.");120 //} else {121 //ELOG(1, "Bond length table loading failed.");122 //}123 //input.close();124 //}121 if (boost::filesystem::exists(BondGraphFileName)) { 122 std::ifstream input(BondGraphFileName.c_str()); 123 if ((input.good()) && (World::getInstance().getBondGraph()->LoadBondLengthTable(input))) { 124 LOG(0, "Bond length table loaded successfully."); 125 } else { 126 ELOG(1, "Bond length table loading failed."); 127 } 128 input.close(); 129 } 125 130 126 131 // if we have python, autoexecute a molecuilder script in current folder -
src/documentation/install.dox
ra91710 r4c9101 64 64 * -# autotools: autoconf automake autoheader autoconf libtool 65 65 * 66 * Under Ubuntu 14.04 the required packages remain the same but the following67 * notes apply:68 * -# boost must be at least 1.50 as there is some bug with recognizing69 * pthreads with the new gcc version.70 * -# no need to compile VTK on your own, just use the VTK-5.8 that comes with71 * this Ubuntu version.72 * -# note that prior to 1.4.7 Ubuntu 14.04 is not supported and requires some73 * changes in the automake/autoconf parts.74 *75 66 * \subsection install-prerequisites-other Other packages 76 67 * … … 342 333 * from a distributed archive. This is checked for each release version. 343 334 * 344 * \date 2014-0 8-21335 * \date 2014-03-10 345 336 */ -
src/unittests/Makefile.am
ra91710 r4c9101 7 7 XFAIL_TESTS = 8 8 MOSTLYCLEANFILES = 9 noinst_LTLIBRARIES =10 11 #AUTOMAKE_OPTIONS = no-dependencies12 9 13 10 if CONDCPPUNIT … … 43 40 include ../../src/UIElements/Menu/unittests/Makefile.am 44 41 42 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src 43 45 44 AM_LDFLAGS = \ 46 45 ${CodePatterns_LIBS} \ 47 46 $(CPPUNIT_LIBS) \ 48 47 -ldl 49 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}48 AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS} 50 49 51 50 GENERALTESTS = \ … … 69 68 endif 70 69 71 noinst_LTLIBRARIES += libUnitTest.la72 libUnitTest_la_LDFLAGS = \73 $(AM_LDFLAGS)74 libUnitTest_la_LIBADD =75 76 #nobase_libUnitTest_la_include_HEADERS =77 78 ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"79 ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and80 ## will therefore be treated as if it were literally part of the target name,81 ## and the variable name derived from that.82 ## The file extension .cc is recognized by Automake, and makes it produce83 ## rules which invoke the C++ compiler to produce a libtool object file (.lo)84 ## from each source file. Note that it is not necessary to list header files85 ## which are already listed elsewhere in a _HEADERS variable assignment.86 libUnitTest_la_SOURCES = UnitTestMain.cpp87 88 ## Instruct libtool to include ABI version information in the generated shared89 ## library file (.so). The library ABI version is defined in configure.ac, so90 ## that all version information is kept in one place.91 #libUnitTest_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)92 93 ## The generated configuration header is installed in its own subdirectory of94 ## $(libdir). The reason for this is that the configuration information put95 ## into this header file describes the target platform the installed library96 ## has been built for. Thus the file must not be installed into a location97 ## intended for architecture-independent files, as defined by the Filesystem98 ## Hierarchy Standard (FHS).99 ## The nodist_ prefix instructs Automake to not generate rules for including100 ## the listed files in the distribution on 'make dist'. Files that are listed101 ## in _HEADERS variables are normally included in the distribution, but the102 ## configuration header file is generated at configure time and should not be103 ## shipped with the source tarball.104 #libUnitTest_la_libincludedir = $(libdir)/MoleCuilder/include105 #nodist_libUnitTest_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h106 107 ## Install the generated pkg-config file (.pc) into the expected location for108 ## architecture-dependent package configuration information. Occasionally,109 ## pkg-config files are also used for architecture-independent data packages,110 ## in which case the correct install location would be $(datadir)/pkgconfig.111 #pkgconfigdir = $(libdir)/pkgconfig112 #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc113 114 70 115 71 BOOST_LIB = \ … … 127 83 128 84 ALLLIBS = \ 129 libUnitTest.la \130 ../libMolecuilder.la \131 85 ../libMolecuilderUI.la 132 86 if CONDJOBMARKET … … 192 146 193 147 194 BoxUnitTest_SOURCES = \148 BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 195 149 BoxUnitTest.cpp \ 196 150 BoxUnitTest.hpp \ … … 200 154 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp 201 155 BoxUnitTest_LDADD = \ 202 $(ALLLIBS)\156 ../libMolecuilder.la \ 203 157 ../libMolecuilderShapes.la \ 204 ../libMolecuilderHelpers.la 205 206 AtomIdSetUnitTest_SOURCES = \ 158 ../libMolecuilderHelpers.la \ 159 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 160 ${CodePatterns_LIBS} \ 161 $(BOOST_LIB) 162 163 AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 207 164 AtomIdSetUnitTest.cpp \ 208 165 AtomIdSetUnitTest.hpp 209 166 AtomIdSetUnitTest_LDADD = $(ALLLIBS) 210 167 211 Box_BoundaryConditionsTest_SOURCES = \168 Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 212 169 Box_BoundaryConditionsUnitTest.cpp \ 213 Box_BoundaryConditionsUnitTest.hpp 170 Box_BoundaryConditionsUnitTest.hpp \ 171 ../Box_BoundaryConditions.cpp \ 172 ../Box_BoundaryConditions.hpp 214 173 Box_BoundaryConditionsTest_LDADD = \ 215 $(ALLLIBS) \ 216 ../libMolecuilderShapes.la \ 217 ../libMolecuilderHelpers.la 218 219 FormulaUnittest_SOURCES = \ 174 ${CodePatterns_LIBS} \ 175 $(BOOST_LIB) 176 177 FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 220 178 FormulaUnitTest.cpp \ 221 179 FormulaUnitTest.hpp 222 180 FormulaUnittest_LDADD = $(ALLLIBS) 223 181 224 ListOfBondsUnitTest_SOURCES = \182 ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 225 183 ListOfBondsUnitTest.cpp \ 226 184 ListOfBondsUnitTest.hpp 227 185 ListOfBondsUnitTest_LDADD = $(ALLLIBS) 228 186 229 MoleculeUnitTest_SOURCES = \187 MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 230 188 MoleculeUnitTest.cpp \ 231 189 MoleculeUnitTest.hpp … … 235 193 ../libMolecuilderHelpers.la 236 194 237 WorldTimeUnitTest_SOURCES = \195 WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 238 196 WorldTimeUnitTest.cpp \ 239 WorldTimeUnitTest.hpp 240 WorldTimeUnitTest_LDADD = \ 241 $(ALLLIBS) \ 242 ../libMolecuilderShapes.la \ 243 ../libMolecuilderHelpers.la 197 WorldTimeUnitTest.hpp \ 198 ../WorldTime.cpp \ 199 ../WorldTime.hpp 200 WorldTimeUnitTest_LDADD = ${BOOST_LIB} 244 201 245 202 -
tests/JobMarket/Makefile.am
ra91710 r4c9101 2 2 3 3 if CONDJOBMARKET 4 mpqc_SOURCES = mpqc.cpp5 mpqc_CPPFLAGS = $ (AM_CPPFLAGS) ${CodePatterns_CFLAGS} $(BOOST_CPPFLAGS)4 mpqc_SOURCES = $(srcdir)/mpqc.cpp 5 mpqc_CPPFLAGS = ${CodePatterns_CFLAGS} $(BOOST_CPPFLAGS) 6 6 mpqc_LDADD = \ 7 7 ${CodePatterns_LIBS}
Note:
See TracChangeset
for help on using the changeset viewer.