You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by pe...@apache.org on 2017/08/03 18:24:42 UTC
svn commit: r1804033 - in /tcl/rivet/branches/cmake/cmake: CMakeLists.txt
README.cmake
Author: petasis
Date: Thu Aug 3 18:24:42 2017
New Revision: 1804033
URL: http://svn.apache.org/viewvc?rev=1804033&view=rev
Log:
CMake: More checks for rivet_config.h
Modified:
tcl/rivet/branches/cmake/cmake/CMakeLists.txt
tcl/rivet/branches/cmake/cmake/README.cmake
Modified: tcl/rivet/branches/cmake/cmake/CMakeLists.txt
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/cmake/cmake/CMakeLists.txt?rev=1804033&r1=1804032&r2=1804033&view=diff
==============================================================================
--- tcl/rivet/branches/cmake/cmake/CMakeLists.txt (original)
+++ tcl/rivet/branches/cmake/cmake/CMakeLists.txt Thu Aug 3 18:24:42 2017
@@ -56,6 +56,10 @@ endif()
set(INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH
"Installation directory for CMake files")
+if(NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE Release)
+endif()
+
# Use GNU install directories
include(GNUInstallDirs)
Modified: tcl/rivet/branches/cmake/cmake/README.cmake
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/cmake/cmake/README.cmake?rev=1804033&r1=1804032&r2=1804033&view=diff
==============================================================================
--- tcl/rivet/branches/cmake/cmake/README.cmake (original)
+++ tcl/rivet/branches/cmake/cmake/README.cmake Thu Aug 3 18:24:42 2017
@@ -9,16 +9,16 @@ Compiling Rivet with cmake:
2) Execute the following commands (all commands must be executed from the
"cmake" directory):
-
+
cmake -E make_directory build
- cmake -E chdir build cmake --config Release ..
- cmake --build build --target all --config Release --clean-first
+ cmake -E chdir build cmake ..
+ 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 chdir build cmake --config Release \
+ 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 --target install
---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org