summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetasis <petasisg@yahoo.gr>2017-08-25 08:13:57 (GMT)
committerpetasis <petasisg@yahoo.gr>2017-08-25 08:13:57 (GMT)
commitd7cfd96087b248255da5349086ef70cc4bbfb619 (patch)
tree5ba4e16785bd21b9eaed54fc95aa45fe8b0e97fe
parentd93b37b6d6501ea03ad82a30e95aec8c2655226e (diff)
downloadtkdnd-master.zip
tkdnd-master.tar.gz
tkdnd-master.tar.bz2
Added -Dwith-tcl= to CMakeHEADmaster
-rw-r--r--README.cmake33
1 files changed, 7 insertions, 26 deletions
diff --git a/README.cmake b/README.cmake
index 087537e..28c7b33 100644
--- a/README.cmake
+++ b/README.cmake
@@ -1,8 +1,8 @@
-In order to build Rivet with cmake, the following software is required:
+In order to build TkDND with cmake, the following software is required:
a) cmake, version 3.2 or newer.
-Compiling Rivet with cmake:
+Compiling TkDND with cmake:
-------------------------------------------------------
1) Change the working directory to "cmake".
@@ -11,40 +11,21 @@ Compiling Rivet with cmake:
"cmake" directory):
cmake -E make_directory build
- cmake -E chdir build cmake ..
+ cmake -E chdir build cmake -DCMAKE_INSTALL_PREFIX=../runtime ../..
cmake --build build --target all --clean-first
cmake --build build --target install
-3) To install mod_rivet.so/Rivet library to a custom location,
- the following commands can be used:
-
- cmake -E make_directory build
- cmake -E chdir build cmake \
- -DAPACHE_MODULE_DIR=/home/tcl/rivet/branches/cmake/cmake/test/modules \
- -DAPACHE_LIB_DIR=/home/tcl/rivet/branches/cmake/cmake/test/ ..
- cmake --build build --config Release --target install
-
-4) To install mod_rivet.so/Rivet library in a system where Apache Server is not
- in a known location (i.e. under Windows), you can speficy APACHE_ROOT:
-
- cmake -E make_directory build
- cmake -E chdir build cmake -DAPACHE_ROOT=G:/Apache24 ..
- cmake --build build --config Release --target install
-
-5) Compile for 64 bits under Windows (for Visual Studio 2017):
+3) Compile for 64 bits under Windows (for Visual Studio 2017):
cmake -E make_directory build_64
- cmake -E chdir build_64 cmake -DAPACHE_ROOT=G:/Apache24 -G "Visual Studio 15 2017 Win64" ..
+ cmake -E chdir build_64 cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=../runtime ../..
cmake --build build_64 --config Release --target install
-G "..." can be set to any of the available 64-bit generators available under
the platform.
-6) Specify Tcl at a non standard location:
+4) Specify Tcl at a non standard location:
cmake -E make_directory build_64
- cmake -E chdir build_64 cmake -DAPACHE_ROOT=G:/Apache24 -G "Visual Studio 15 2017 Win64" -Dwith-tcl=C:/TclApps/Tcl64/lib ..
+ cmake -E chdir build_64 cmake -G "Visual Studio 15 2017 Win64" -Dwith-tcl=C:/TclApps/Tcl64/lib -DCMAKE_INSTALL_PREFIX=../runtime ../..
cmake --build build_64 --config Release --target install
-
- Instead of -Dwith-tcl=, -DTCL_ROOT=, -DTclStub_ROOT, and -DTCL_TCLSH= can be
- specified as an alternative.