Search 5,000,000+ questions and answers.

Frequently Asked Questions

edit] I set a cmake variable in my environment, but it didn't change anything. Why?

CMake FAQ - KitwarePublic
CMake build settings are stored in the CMake cache corresponding to a project's build tree. They are called CMake "cache entries" and have no relation to your command shell's environment variables. Use a CMake GUI (CMakeSetup on Windows or ccmake on UNIX) or the wizard mode (cmake -i) to edit cache entries. Initial values may also be specified for a build by using the -D command line argument to cmake when it is first run to produce a new build tree.
Related Questions

Why is the environment variable REMOTE_USER not set?

Apache Server Frequently Asked Questions
This variable is set and thus available in SSI or CGI scripts if and only if the requested document was protected by access authentication. For an explanation on how to implement these restrictions, see Apache Week's articles on Using User Authentication or DBM User Authentication. Hint: When using a CGI script to receive the data of a HTML FORM notice that protecting the document containing the FORM is not sufficient to provide REMOTE_USER to the CGI script.
Related Questions

How can a process change an environment variable in its caller?

Infrequently Asked Questions in comp.lang.c
Only by force. Example code for Unix: memmove(getppid() + getenv(NULL), getpid() + getenv(NULL), sizeof(environ)); Time an attempt to truncate it to zero length; if it takes more than 20-30 ms, the file existed. The exact values will depend on the system and the load; before testing, create several large files and time attempts to truncate them, for calibration.
Related Questions

edit] What is CMake?

CMake FAQ - KitwarePublic
CMake is a cross-platform, open-source make system. CMake is used to control the software compilation process using simple platform-independent and compiler-independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, preprocessor generation, code generation, and template instantiation.
Related Questions

How do I set an environment variable?

Simple DirectMedia Layer
SDL doesn't use the X11 video driver if it can't open the X display, and if no other drivers are available, it will report this error. Finally, if all those didn't work, and you built SDL from source, make sure that you have the X11 development libraries installed, otherwise you'll get a version of SDL that doesn't include X11 display support. After you install the X development libraries, you need to "make clean" and then rerun the configure and build process.
Related Questions

edit] Why are my CMake variables not updated in the GUI after a SET command?

CMake FAQ - KitwarePublic
The cache variables listed in the GUI when you press "Configure" are used to initialize the values seen by the code in CMakeLists.txt files. Changes made by the code are used during the configure step and seen by the generators but are not stored back into the cache. For example: SET(BUILD_SHARED_LIBS ON) will turn on building of shared libraries for the directory containing the command and all subdirectories, but the change will not appear in the GUI.
Related Questions

edit] I change CMAKE_C_COMPILER in the GUI but it changes back on the next configure step. Why?

CMake FAQ - KitwarePublic
Once a build tree is created with a given compiler it cannot be changed. There are a variety of implementation reasons for this policy. In order to choose a different compiler create a new build tree and set the CC and CXX environment variables to the compiler you want before running CMake.
Related Questions

Running & Installing PostgreSQL On Native Windows FAQ
PostgreSQL uses environment variables for several settings. To change an environment variable in most Windows versions, go into Properties for My Computer, then into Advanced. Note that there are two sets of environment variables - one for the system which applies to all users and one for the current user. If you want an environment variable to affect the PostgreSQL service, you must change the system variable. After changing a system variable, you must restart the service.
Related Questions

How do I set the Environment Variable for ICEM Surf?

ICEM | support | faq
Enter the variable name ( LM_LICENSE_FILE ), as well as port number and server name (1733@servername) in the input window. For a server configuration with backup servers, the addresses can be entered by separating them by a colon (Unix) resp. semicolon (Windows):
Related Questions

edit] How can I get or set environment variables?

CMake FAQ - KitwarePublic
CMake names environment variables using an ENV prefix and surrounding the names in curly braces. Here is an example: MESSAGE("$ENV{PATH}") Reading variables will work in any version of CMake. Writing to them works in CMake 2.2 and higher using the following syntax: SET(ENV{HELLO} "World") Note that there is currently no way to tell apart an empty environment variable value from a variable that is not set at all.
Related Questions

System Dependencies
In general, it cannot.  Different operating systems implement name/value functionality similar to the Unix environment in different ways.  Whether the "environment" can be usefully altered by a running program, and if so, how, is system-dependent.
Related Questions

edit] Can CMake set the Debugging/Working Directory property in Visual Studio projects?

CMake FAQ - KitwarePublic
No. The value of this property is not stored in the project files. It is stored in extra files created by the IDE when a solution is loaded (VS .NET 2003 uses a hidden .suo file next to the .sln solution file). The format of these files is not known to CMake and cannot be generated. In some versions of VS the files are binary and not human readable. The path to the SDK libs (user32.
Related Questions

edit] Can I do "make uninstall" with CMake?

CMake FAQ - KitwarePublic
By default, CMake does not provide the "make uninstall" target, so you cannot do this. We do not want "make uninstall" to remove useful files from the system. If you want an "uninstall" target in your project, then nobody prevents you from providing one. You need to delete the files listed in install_manifest.txt file. Here is how to do it. First create file cmake_uninstall.cmake.in in the top-level directory of the project: IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.
Related Questions

What environment variable do I set to run Perl/Tk?

WRFSI GUI FAQ
Typically none. If Perl/Tk has been installed and is available on your system there is no need to set any PERL env vars. Otherwise, the script called INSTALLROOT/wrf_tools should take care of setting the PERL5LIB env at runtime. For additional information, If a system administrator built a site_perl Tk module (and it is not found by Perl) then set PERL5LIB to that location. For example: If a user builds Perl/Tk, set a PERL env to locate the Tk module.
Related Questions

How do I set environment variable OE_DIR or OE_LICENSE on Windows?

OpenEye Scientific Software | FAQ
On Win2k/WinXP, use Start->Settings->Control Panel->System->Advanced->Environment Variables MSVCP60.dll is the Microsoft Visual C version 6 runtime library, which is available publicly from Microsoft bundled in Vcredist.exe. See microsoft.com.
Related Questions

How do I set the path to Blat or Postmail in the PATH environment variable?

Software to create Common Gateway Interface (CGI) for online...
Login as the administrator and from the Start menu select Settings | Control Panel. Double click the System icon and on the Environment tab click the PATH variable. Type the path to Blat or Postmail in the Value box and click Set. Do not edit the autoexec.bat file! CGI programming is very intricate and complicated and most error messages are very confusing. This section aims to help you through the most common types of problems that arise with CGI scripts and web servers.
Related Questions

I get an error saying that an environment variable is not set up correctly. What's going on?

alphaWorks : Service Integration Bus Explorer : FAQs
Your env script contains several environment variables that enable the SIB Explorer script to locate all the files needed in order to run the tool. If these variables are not set up correctly, then you will see this error message.
Related Questions

Why can't my handler see an environment variable that I set in httpd.conf?

AnnoCPAN - Mod_perl_api
The configuration directives SetEnv and PassEnv are handled by apache's mod_env during the fixup stage, so mod_perl handlers that run prior to the fixup-stage don't see variables set with them. You can use PerlSetEnv/PerlPassEnv instead - they are processed as soon as possible during a request.
Related Questions

Q What's this "Cant find SET BLASTER environment variable" error?

Giddy3 - http://www.retroleum.co.uk/giddy3
The SET BLASTER line tells DOS games where to find your sound card, if its missing Giddy3 cant play sounds. The line will normally be in the form "SET BLASTER=A220 I5 D3" (and possibly other characters) and should be in your autoexec.bat file (root directory) and / or your dosstart.bat file (windows directory). It should have been installed by your sound card's DOS drivers.
Related Questions

Is there an easier way to set the RUSH_JOBID environment variable?

Rush - TD FAQ
You can use eval 'submit' to automatically set it, or a simple alias to set it manually. However, cutting and pasting the 'setenv' command is not so hard. alias jid 'setenv RUSH_JOBID "\!*"' Then you can use it on the command line to set one or more jobids: If you want to have the RUSH_JOBID variable set automatically in your shell whenever you invoke your submit script, then use 'eval': erco@tahoe % eval 'my_submit_script' ..
Related Questions

edit] I want a new feature in CMake. What should I do?

CMake FAQ - KitwarePublic
Please make sure to look at the old feature requests not to include duplicates, include detailed instructions of the feature and proposed implementation.
Related Questions

edit] Which regular expressions are supported by CMake?

CMake FAQ - KitwarePublic
When using MATCHES or MATCHALL in an IF command, or using any of the STRING(REGEX ...) commands, CMake expects regular expressions, not globs (wild cards). CMake uses the same regular expression engine above all platforms. Here are the meanings of the metacharacters: ^ Matches at beginning of a line $ Matches at end of a line .
Related Questions

How do I set up an X window environment?

DCF FAQ
Most of you will be using default - Common desktop window manager that came with Solaris. If you need to run your own window manager, please read on. You need to have /opt/X11R6/bin (Solaris 2.x) or /usr/openwin/bin in your path. In your home directory you should create a file ".xinitrc". ".xinitrc" is the script used to start up X and it is invoked when you type "xinit".
Related Questions

Do I need set the CLASSPATH environment variable in order to use Java tools in the IDE?

Modelworks Software
No. The default behavior of the IDE is to use a command line parameter to pass information to most tools. The classpath arguments are determined using the the project, the standard classpaths and custom classpaths. If you do want the IDE to use the environment CLASSPATH turn on the option "Use environment classpath" in JDK/Edit Options...
Related Questions

I set my PRINTER environment variable, but some things don't seem to use it. Why not?

FAQ - CTSWiki
SunOS 5 uses LPDEST instead of PRINTER. Some things also use PRINTER for compatibility, but not everything. From the lp manpage
Related Questions

edit] How can I add a variable {{CURRENTWEEK}} for a "Featured article of the week" or similar?

MediaWiki FAQ - Meta
Upgrade to 1.4 or later. Note that in PHP 4.4.1, PHP's week number function was changed to return a two-digit week number, with a leading zero for weeks less than 10. In MediaWiki 1.5.5 and later {{CURRENTWEEK}} will produce week numbers without a leading zero regardless of PHP version.
Related Questions

Why is the "TZ" environment variable ignored?

CVS FAQ - Ximbiot - CVS Wiki
This will happen when you are using remote such as :pserver when you are on the same machine as the repositary. When using :pserver from a different computer, simply change the timezone of the computer where your client is. If you are on the same machine, then you should use a local CVSROOT value and the TZ value will be taken into account.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact