Changeset 3581
- Timestamp:
- Jan 19, 2017, 2:46:51 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/README
r3550 r3581 152 152 #> ./configure LDFLAGS="-L/usr/lib64/atlas" 153 153 154 === Rvalues === 155 156 The configure script tries to find a modern compiler that understands 157 rvalues and move semantics, and turns on switches such as '-std=c++11' 158 if needed. This search can be turned off by invoking 159 160 #> ./configure --without-cxx11 161 162 If a compiler with rvalue support is found, macro YAT_HAVE_RVALUE is 163 #defined in 'config.h' and move constructors and move assignments is 164 available for certain classes plus that moves are used internally. If 165 yat is built with rvalue support, yat's header are not compatible with 166 a compiler that lack the support. Packages that use autoconf you can 167 use macro YAT_CXX_RVALUE, defined in 'm4/yat_cxx_rvalue', to turn on 168 the compiler switch in the same fashion as yat's 169 configure. Alternatively, yat's choice of compiler with needed 170 switches can be accessed via `yat-config --cxx`. If necessary, you can 171 turn off rvalue support completely by compiling your program with the 172 preprocessor definition YAT_WITHOUT_CXX11. 173 154 174 === Doxygen === 155 175 -
trunk/configure.ac
r3562 r3581 86 86 m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) 87 87 AC_PROG_CXX 88 89 AC_ARG_WITH([cxx11], 90 [AS_HELP_STRING([--without-cxx11], 91 [build with no disable C++11 support])], 92 [], 93 [with_cxx11=yes]) 94 95 # if CXX11 is wanted look for rvalue support 96 yat_have_rvalue=no 97 AS_VAR_IF([with_cxx11], [no], [], [ 98 YAT_CXX_RVALUE([yat_have_rvalue=yes 99 AC_DEFINE([YAT_HAVE_RVALUE], [1], 100 [Define if compiler support rvalues])]) 101 ]) 102 88 103 AC_PROG_SED 89 104 AC_PROG_LIBTOOL … … 639 654 Build Documentation: $doxygen_message 640 655 With Bam Support: $with_htslib 656 With Rvalue Support: $yat_have_rvalue 641 657 642 658 Options used to compile and link: -
trunk/doc/build_tool.doxygen
r3133 r3581 41 41 OBJECTS=$(SRC:.cc=.o) 42 42 43 CXX=`yat-config --cxx` 43 44 CPPFLAGS+=`yat-config --cppflags` 44 45 CXXFLAGS+=`yat-config --cxxflags` -
trunk/m4/Makefile.am
r3330 r3581 25 25 aclocal_DATA += m4/yat_add_flag.m4 26 26 aclocal_DATA += m4/yat_am_macros.m4 27 aclocal_DATA += m4/yat_cxx_rvalue.m4 27 28 aclocal_DATA += m4/yat_cblas.m4 28 29 aclocal_DATA += m4/yat_check_libbam.m4 -
trunk/yat/utility/config_public.h.in
r3439 r3581 56 56 #undef YAT_HAVE_BOOST_CONCEPT_WITH_CONSTRUCTOR 57 57 58 /// Don't turn on cxx11 features if user explicitely turned off cxx11. 59 #ifndef YAT_WITHOUT_CXX11 60 /// Define if compiler support rvalues */ 61 #undef YAT_HAVE_RVALUE 62 #endif 63 58 64 /// Define to 1 if boost::exception_ptr works 59 65 #undef YAT_HAVE_WORKING_BOOST_EXCEPTION_PTR
Note: See TracChangeset
for help on using the changeset viewer.