Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <darklord@darkboxed.org>2010-11-19 00:45:41 +0300
committerTom Hughes <tom.hughes@palm.com>2010-11-24 08:33:19 +0300
commitea29cb4e46a96b6019b2d388c5e5562939d7a7f9 (patch)
tree7b470a7958aa5d9cd2a9342612e5fa65ddbc5117 /CMakeLists.txt
parenta530c23d96db854127afd0d92086dda2024248f0 (diff)
cmake cleanup
* Removed useless include_directories * Print ssl library path in build summary * ExternalProject also exists on 2.8.0 * include pummel tests when testing with ctest * Moved tests.cmake to test/CMakeList.txt * Removed inconsistent, unnecessary condition in else
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a80796b4414..d1621000cb5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,7 +12,7 @@ option(V8_SNAPSHOT "turn on snapshot when building stock v8")
# cmake policies to get rid of some warnings
-cmake_policy(SET CMP0009 NEW)
+cmake_policy(SET CMP0009 NEW) # GLOB_RECURSE should no follow symlinks
# generic cmake configuration
include("cmake/configure.cmake")
@@ -27,10 +27,12 @@ include("cmake/node_build.cmake")
include("cmake/v8_build.cmake")
# docs
+## might want to move this to doc/CMakeLists.txt
include("cmake/docs.cmake")
# tests
-include("cmake/tests.cmake")
+enable_testing()
+add_subdirectory("test/")
# package
include("cmake/package.cmake")
@@ -64,7 +66,7 @@ message(" RT library: ${RT}")
message(" DL library: ${DL}")
if(${OPENSSL_FOUND} MATCHES TRUE)
- message(" OpenSSL: Found!")
+ message(" OpenSSL: ${OPENSSL_LIBRARIES}")
endif()
# message(" CCFLAGS: ${CCFLAGS}")