[Cmake-commits] CMake branch, next, updated. v2.8.3-667-g66e7531
Philip Lowman
philip at yhbt.com
Thu Nov 18 23:35:41 EST 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 66e7531999a97e73e1230ff0ec62046da533cc70 (commit)
via 0263d8dffe9d5cf994f72d517ef2e8374ac8b2a2 (commit)
from b96b602d0e0e9d828518db78cbc8859b8ef5258b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=66e7531999a97e73e1230ff0ec62046da533cc70
commit 66e7531999a97e73e1230ff0ec62046da533cc70
Merge: b96b602 0263d8d
Author: Philip Lowman <philip at yhbt.com>
AuthorDate: Thu Nov 18 23:35:40 2010 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Nov 18 23:35:40 2010 -0500
Merge topic '11384' into next
0263d8d 11384: FindCxxTest now includes test code in VS project
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0263d8dffe9d5cf994f72d517ef2e8374ac8b2a2
commit 0263d8dffe9d5cf994f72d517ef2e8374ac8b2a2
Author: Philip Lowman <philip at yhbt.com>
AuthorDate: Thu Nov 18 23:27:35 2010 -0500
Commit: Philip Lowman <philip at yhbt.com>
CommitDate: Thu Nov 18 23:31:14 2010 -0500
11384: FindCxxTest now includes test code in VS project
The test code header files are now included in the test target so they
will show up under "Header Files" in Visual Studio targets, for example.
diff --git a/Modules/FindCxxTest.cmake b/Modules/FindCxxTest.cmake
index 4ff6eba..912a157 100644
--- a/Modules/FindCxxTest.cmake
+++ b/Modules/FindCxxTest.cmake
@@ -97,6 +97,11 @@
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
+# Version 1.4 (11/18/10) (CMake 2.8.4)
+# Issue 11384: Added support to the CXX_ADD_TEST macro so header
+# files (containing the tests themselves) show up in
+# Visual Studio and other IDEs.
+#
# Version 1.3 (8/19/10) (CMake 2.8.3)
# Included patch by Simone Rossetto to check if either Python or Perl
# are present in the system. Whichever intepreter that is detected
@@ -131,7 +136,7 @@ macro(CXXTEST_ADD_TEST _cxxtest_testname _cxxtest_outfname)
)
set_source_files_properties(${_cxxtest_real_outfname} PROPERTIES GENERATED true)
- add_executable(${_cxxtest_testname} ${_cxxtest_real_outfname})
+ add_executable(${_cxxtest_testname} ${_cxxtest_real_outfname} ${ARGN})
if(CMAKE_RUNTIME_OUTPUT_DIRECTORY)
add_test(${_cxxtest_testname} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${_cxxtest_testname})
-----------------------------------------------------------------------
Summary of changes:
Modules/FindCxxTest.cmake | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list