MPQC 2.3.1
|
The sc-config program is used to obtain information about MPQC's compile time environment.
The sc-config program is used to obtain information about MPQC's compile time environment. It can be used to initialize variables in a makefile that will be used to compile programs that depend on MPQC. For example, the following makefile could be used to compile a program myprog, which depends on the MPQC libraries.
SCCONFIG = /usr/local/mpqc/current/bin/sc-config CXX := $(shell $(SCCONFIG) --cxx) CXXFLAGS := $(shell $(SCCONFIG) --cxxflags) CPPFLAGS := $(shell $(SCCONFIG) --cppflags) LIBS := $(shell $(SCCONFIG) --libs) myprog: myprog.o $(CXX) $(CXXFLAGS) -o $@ $^ $(LIBS)
sc-config takes the following command line options:
sc-config is open-source software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
sc-config is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.