File: InstallPrefix.hh

package info (click to toggle)
cadabra2 2.4.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 78,732 kB
  • sloc: ansic: 133,450; cpp: 92,064; python: 1,530; javascript: 203; sh: 184; xml: 182; objc: 53; makefile: 51
file content (19 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#pragma once

#include <string>

namespace cadabra {

	/// Return an absolute path to the installation path. This is
	/// determined at runtime, to allow for binary distributions to be
	/// installed at any location. Note that this cannot be used
	/// if the binary running the code was a python interpreter.

	std::string install_prefix();

	/// Just get a constant char array with the install prefix.

	const char *cmake_install_prefix();
	
	}