![]() ![]() ![]() Issue the call to CMake with any options you want to test and point it to the root of your SWORD sources: cmake.Change into your build directory: cd cmake_build.I personally use the parallel directory and following example commands will reflect a directory structure with cmake_sword/ as the base of the SWORD sources and a parallel directory cmake_build/ as the build directory. sword/cmakebuild) or a parallel directory (sword/./swordbuild) or anywhere else you would like. Create a new directory where the actual configure or build will take place - this can be an empty subdirectory of SWORD (e.g.Follow the appropriate steps laid out below:īash or other command-line tool, probably Unix/Linux environment If you have the SWORD supporting libraries you want to use installed, and also have CMake installed, it is now time to try to configure the system. Please report any success or failures you have as a result of changes. I have set the minimum at 2.6.0 because that is the minimum I have tested with and not because I am aware of any limitations of versions earlier than 2.4 which would break the system. ![]() To require a version low enough so you can test with your version. I have tested the build with versions 2.6.4 and 2.8 of CMake - if you have something from the 2.4 series and are feeling brave enough to try it, please edit the file CMakeLists.txt and, near the top of the file, change the line that reads If you are in Linux/Unix there is almost certainly a package available from your system. Most of them have GUIs, but can also be run from the command line. There are versions for Linux/Unix, OS X, Windows, SunOS/Sparc, IRIX64, HPUX and AIX. Obviously, since this is all about CMake, you'll be required to install CMake. Elsewhere you can find documentation on the list of libraries which are optionally a part of SWORD, so I won't go over installing those optional dependencies here - use your favorite method/package manager to install them. Now that you have the code, hopefully in a relatively clean build environment so you can test it without colliding with already installed versions of the SWORD library, it's time to give building a try. 3.2.3 Developer or Packager specific optionsĬurrently the source for the CMake build system can be found in the regular SWORD SVN tree and is included with distributions starting with version 1.6.2.2.1 Bash or other command-line tool, probably Unix/Linux environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |