The XTrkCAD Wiki : CMakeBuild

HomePage :: PageIndex · RecentChanges · Login/Register
Most recent edit on 2008-10-19 16:29:21 by MartinFischer

Additions:
- gtkhtml (might also be called libgtkhtml)

Deletions:
- gtkhtml / libgtkhtml



Edited on 2008-10-19 16:28:47 by MartinFischer

Additions:
- gtkhtml / libgtkhtml

Deletions:
- gtkhtml



Edited on 2008-07-08 19:38:08 by TimShead

Additions:
- You will need to install the following dependencies - I recommend using http://www.macports.org to obtain them:
$ ~/install/xtrkcad/bin/xtrackcad


Deletions:
- Run the installed binary. XTrkCAD currently hard-codes the location of shared resources to /usr/lib/xtrkcad or /usr/local/lib/xtrkcad, so specify the share directory using an environment variable:
$ XTRKCADLIB=~/install/xtrkcad/share ~/install/xtrkcad/bin/xtrackcad




Edited on 2008-01-03 21:42:54 by TimShead

Additions:
- Run XTrkCAD from the install directory - for example, c:/Program Files/XTrkCAD/bin/xtrackcad.exe.

Deletions:
- Run XTrkCAD from the install directory - for example, c:/program files/xtrkcad/bin/xtrackcad.exe.



Edited on 2008-01-03 21:42:27 by TimShead

Additions:
- Specify the source and build directories in the CMake window. You must provide a build directory outside the source tree - I use "c:/build/xtrkcad".
The following instructions detail building XTrackCAD using CMake. CMake is a cross-platform build system, available at http://www.cmake.org, that can be used to generate builds for a variety of build tools ranging from "make" to Visual Studio and XCode. Using CMake you can build XTrackCAD on Windows, GNU/Linux, and Mac OSX using the build tool(s) of your choice.

Building XTrkCAD on GNU/Linux

Building XTrkCAD on Mac OSX

Building XTrkCAD on Windows

Notes

Note: as of this writing the CMake build works on GNU/Linux and MacOSX. With minor work it should be usable on Windows as-well.
Notes:
$ cd ~/build/xtrkcad
$ ccmake ~/src/xtrkcad
$ XTRKCADLIB=~/install/xtrkcad/share ~/install/xtrkcad/bin/xtrackcad
Notes:
$ cd xtrkcad-build
$ ccmake ~/xtrkcad
Configure and generate the sources, then build:
Run the new binary from the build tree:
$ XTRKCADLIB=~/xtrkcad/4.0.0/lib bin/xtrackcad
Install the new binary:
Note: when running the installed binary, you will have to point LD_LIBARY_PATH to the installation lib/ directory, and XTRKCADLIB to the installation share/ directory.




Edited on 2008-01-02 19:53:36 by TimShead

Additions:
The following instructions apply to building XTrackCAD using the CMake build. CMake is a cross-platform make system, available at http://www.cmake.org
Note: as of this writing the CMake build works on GNU/Linux and MacOSX. With minor work it should be usable on Windows as-well.
$ ccmake ~/xtrkcad


Deletions:
The following instructions apply to building XTrackCAD using the experimental CMake build. CMake is a cross-platform make system, available at http://www.cmake.org
Note: as of this writing the CMake build only works on GNU/Linux.
$ ccmake ~/xtrkcad/4.0.0




Edited on 2007-11-22 01:27:42 by MartinFischer [Removed spam]

Deletions:
c4trelladel



Oldest known version of this page was edited on 2007-11-21 13:26:21 by ErricLapas []
Page view:
c4trelladel
The following instructions apply to building XTrackCAD using the experimental CMake build. CMake is a cross-platform make system, available at http://www.cmake.org

Note: as of this writing the CMake build only works on GNU/Linux.

  1. Obtain the current sources from CVS, assume the default directory "xtrkcad"
  2. Create a separate build directory, assume "xtrkcad-build"
  3. Run CMake from your build directory, pointing it to the source directory:

$ cd xtrkcad-build
$ ccmake ~/xtrkcad/4.0.0


Configure and generate the sources, then build:

$ make


Run the new binary from the build tree:

$ XTRKCADLIB=~/xtrkcad/4.0.0/lib bin/xtrackcad


Install the new binary:

$ make install


Note: when running the installed binary, you will have to point LD_LIBARY_PATH to the installation lib/ directory, and XTRKCADLIB to the installation share/ directory.
SourceForge.net
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.3
Page was generated in 0.1768 seconds