Re: [CMake] CMake and CTest for Google tests (Chris Hillery)

2010-08-26 Thread Neelima Mehdiratta
Hi Chris, Your suggestion to generate testlist.cmake in your build directory and then re-run cmake worked with some tweaking. Thank you!! Neelima Message: 3 Date: Wed, 25 Aug 2010 18:31:46 -0700 From: Chris Hillery chillery-cm...@lambda.nu Subject: Re: [CMake] CMake and CTest for Google tests

Re: [CMake] CMake and CTest for Google tests

2010-08-26 Thread Neelima Mehdiratta
! Neelima From: Fraser Hutchison [mailto:fraser.hutchi...@googlemail.com] Sent: Thursday, August 26, 2010 2:28 AM To: Neelima Mehdiratta Cc: cmake@cmake.org Subject: Re: [CMake] CMake and CTest for Google tests Hi Neelima, If you're building the test

[CMake] CMake and CTest for Google tests

2010-08-25 Thread Neelima Mehdiratta
I am using Google Tests to create unit tests for our software. We are using CMake (version 4.6-patch 2) for building the unit tests executable. Since the list of unit tests is expected to grow to thousands of tests, I am looking for a way to automate creating a file (say testlist) on the fly

Re: [CMake] CMake and CTest for Google tests

2010-08-25 Thread Chris Hillery
On Wed, Aug 25, 2010 at 3:17 PM, Neelima Mehdiratta nmehdira...@decarta.com wrote: ADD_CUSTOM_COMMAND(TARGET ${BIN_NAME} POST_BUILD WORKING_DIRECTORY ${SRC_DIR} COMMAND bash ./addtestscrpt COMMAND ${CMAKE_COMMAND} ${SRC_DIR}/DDSCommonTests/CMakeLists.txt ) I'm not