![]() There are symlinks to applications embedded in the root tree. X/bin/prog is an example that won't work: If you wanted to run prog from somewhere other than $PREFIX/bin/prog, prog. The possibility of symlinking a program installed in DESTDIR=/something does not mean that the application will not access files based upon PREFIX because it will not function. The files would be installed as if $HOME was the root using DESTDIR=$HOME. ![]() See also this question, which explains the subtle difference between DESTDIR and PREFIX. When configuring a build tree to configure its installation prefix, the CMAKE_INSTALL_PREFIX can be specified. ![]() The prefix for other applications will also be searched in CMAKE_SYSTEM_PATH so that find_package, find_program, find_path, and find_path will search the prefix for other applications. To develop ECMWF software, the CMake build system is used to create ECMWF applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |