source: ThirdParty/mpqc_open/bin/sc-config.dox@ d192142

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction Subpackage_levmar Subpackage_vmg ThirdParty_MPQC_rebuilt_buildsystem TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since d192142 was 860145, checked in by Frederik Heber <heber@…>, 8 years ago

Merge commit '0b990dfaa8c6007a996d030163a25f7f5fc8a7e7' as 'ThirdParty/mpqc_open'

  • Property mode set to 100644
File size: 2.8 KB
Line 
1
2/** \page sc-config
3
4The sc-config program is used to obtain information about MPQC's compile
5time environment.
6
7\if man
8<h1>Synopsis</h1>
9
10<pre>
11sc-config <b>{--prefix, --exec-prefix, --version, --so-version, --scdatadir, --buildid, --cppflags, --cflags, --cxxflags, --cc, --f77flags, --f77, f--cxx, --libdir, --libs, --libtool, --ltlink, --ltlinklibopts, --ltlinkbinopts, --ltcomp, --ltinst}</b>
12</pre>
13\endif
14
15<h1>Description</h1>
16
17The sc-config program is used to obtain information about MPQC's compile
18time environment. It can be used to initialize variables in a makefile
19that will be used to compile programs that depend on MPQC. For example,
20the following makefile could be used to compile a program <tt>myprog</tt>,
21which depends on the MPQC libraries.
22
23<pre>
24SCCONFIG = /usr/local/mpqc/current/bin/sc-config
25CXX := \$(shell \$(SCCONFIG) --cxx)
26CXXFLAGS := \$(shell \$(SCCONFIG) --cxxflags)
27CPPFLAGS := \$(shell \$(SCCONFIG) --cppflags)
28LIBS := \$(shell \$(SCCONFIG) --libs)
29
30myprog: myprog.o
31 \$(CXX) \$(CXXFLAGS) -o \$@ \$^ \$(LIBS)
32</pre>
33
34
35<h1>Running sc-config</h1>
36
37sc-config takes the following command line options:
38
39<dl>
40 <dt><tt>--prefix</tt><dd>Print the installation prefix.
41 <dt><tt>--exec-prefix</tt><dd>Print the executable installation prefix.
42 <dt><tt>--version</tt><dd>Print the version number.
43 <dt><tt>--so-version</tt><dd>Print the shared object version.
44 <dt><tt>--scdatadir</tt><dd>Print the data installation directory.
45 <dt><tt>--buildid</tt><dd>Print the build identifier.
46 <dt><tt>--cppflags</tt><dd>Print the C preprocessor flags.
47 <dt><tt>--cflags</tt><dd>Print the C flags.
48 <dt><tt>--cxxflags</tt><dd>Print the C++ flags.
49 <dt><tt>--cc</tt><dd>Print the C flags.
50 <dt><tt>--f77flags</tt><dd>Print the FORTRAN 77 flags.
51 <dt><tt>--f77</tt><dd>Print the FORTRAN 77 compiler.
52 <dt><tt>--cxx</tt><dd>Print the C++ compiler.
53 <dt><tt>--libdir</tt><dd>Print the library directories.
54 <dt><tt>--libs</tt><dd>Print the libraries.
55 <dt><tt>--libtool</tt><dd>Print the libtool executable.
56 <dt><tt>--ltlink</tt><dd>Print the libtool link command.
57 <dt><tt>--ltlinklibopts</tt><dd>Print the libtool library link options.
58 <dt><tt>--ltlinkbinopts</tt><dd>Print the libtool binary link options.
59 <dt><tt>--ltcomp</tt><dd>Print the libtool compile command.
60 <dt><tt>--ltinst</tt><dd>Print the libtool install command.
61</dl>
62
63<h1>License</h1>
64
65sc-config is open-source software; you can redistribute it and/or modify it
66under the terms of the GNU General Public License as published by the Free
67Software Foundation; either version 2 of the License, or (at your option)
68any later version.
69
70<h1>Warranty</h1>
71
72sc-config is distributed in the hope that it will be useful, but WITHOUT ANY
73WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
74FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
75details.
76
77*/
Note: See TracBrowser for help on using the repository browser.