- Timestamp:
- Nov 24, 2013, 2:06:28 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/build_tool.doxygen
r2608 r3133 2 2 // 3 3 // Copyright (C) 2008 Jari Häkkinen, Peter Johansson 4 // Copyright (C) 2009, 2010, 2011 Peter Johansson4 // Copyright (C) 2009, 2010, 2011, 2013 Peter Johansson 5 5 // 6 6 // This file is part of the yat library, http://dev.thep.lu.se/yat … … 27 27 The \c yat-config script provides information on the local version of 28 28 the library. For instance the following command shows that yat was 29 installed at prefix \c `/usr/local'29 installed at prefix \c '/usr/local' 30 30 31 \verbatim 31 \verbatim 32 32 #> yat-config --prefix 33 33 /usr/local … … 48 48 all: $(BIN) 49 49 50 $(BIN): $(OBJECTS) 50 $(BIN): $(OBJECTS) 51 51 $(CXX) $(LDFLAGS) $(OBJECTS) -o $(BIN) $(LIBS) 52 52 … … 57 57 \endverbatim 58 58 59 or if you are using <a href="http://www.gnu.org/software/make/">GNU 60 Make</a> and prefer using default rules, you can use \c yat-config with 61 62 \verbatim 63 CPPFLAGS = `yat-config --cppflags` 64 CXXFLAGS = `yat-config --cxxflags` 65 LDFLAGS = `yat-config --ldflags --libs` 66 67 all: foo 68 \endverbatim 69 59 70 From yat 0.6 an alternative \c CBLAS library can be specified using \c 60 71 YAT_CBLAS_LIB environment variable. By default the \c CBLAS library 61 72 detected during configuration of yat is used. 62 73 63 For further information on yat-config use \c `yat-config \c --help'74 For further information on yat-config use \c 'yat-config \c --help' 64 75 65 76 \since New in yat 0.5 … … 67 78 \section macro Autoconf Macro 68 79 69 For applications using autoconf there is a macro available in \c 70 yat.m4. The macro can be called from your \c configure.ac: 80 For applications using <a href="http://www.gnu.org/software/make/">GNU 81 Autoconf</a> there is a macro available in \c yat.m4. The macro can be 82 called from your \c configure.ac: 71 83 72 \verbatim 73 YAT_CHECK_YAT([minimum-version=0.5], [action-if-found], [action-if-not-found]) 84 \verbatim 85 YAT_CHECK_YAT([minimum-version=0.5], [action-if-found], [action-if-not-found]) 74 86 \endverbatim 75 87
Note: See TracChangeset
for help on using the changeset viewer.