[Cmake-commits] [cmake-commits] lowman committed FindCxxTest.cmake 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Mar 2 20:29:40 EST 2009


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv11827

Modified Files:
	FindCxxTest.cmake 
Log Message:
ENH: Detect perl & python scripts based on CXXTEST_INCLUDE_DIR (patch from
Tyler Roscoe on mailing list).


Index: FindCxxTest.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindCxxTest.cmake,v
retrieving revision 1.3
retrieving revision 1.4
diff -C 2 -d -r1.3 -r1.4
*** FindCxxTest.cmake	10 Feb 2009 04:05:38 -0000	1.3
--- FindCxxTest.cmake	3 Mar 2009 01:29:38 -0000	1.4
***************
*** 65,68 ****
--- 65,71 ----
  #
  #
+ # Version 1.2 (3/2/08)
+ #     Included patch from Tyler Roscoe to have the perl & python binaries
+ #     detected based on CXXTEST_INCLUDE_DIR
  # Version 1.1 (2/9/08)
  #     Clarified example to illustrate need to call target_link_libraries()
***************
*** 118,123 ****
  
  find_path(CXXTEST_INCLUDE_DIR cxxtest/TestSuite.h)
! find_program(CXXTEST_PERL_TESTGEN_EXECUTABLE cxxtestgen.pl)
! find_program(CXXTEST_PYTHON_TESTGEN_EXECUTABLE cxxtestgen.py)
  
  include(FindPackageHandleStandardArgs)
--- 121,128 ----
  
  find_path(CXXTEST_INCLUDE_DIR cxxtest/TestSuite.h)
! find_program(CXXTEST_PERL_TESTGEN_EXECUTABLE cxxtestgen.pl
!     PATHS ${CXXTEST_INCLUDE_DIR})
! find_program(CXXTEST_PYTHON_TESTGEN_EXECUTABLE cxxtestgen.py
!     PATHS ${CXXTEST_INCLUDE_DIR})
  
  include(FindPackageHandleStandardArgs)



More information about the Cmake-commits mailing list