[CMake] Using quotes in ADD_TEST

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Apr 26 06:56:08 EDT 2007


Hello,

  Could someone please let me know what is wrong with this:

SET(test_command
  python -c "\"from mymodule import *\;test_mymodule()\""
)
SEPARATE_ARGUMENTS(test_command)

ADD_TEST(PYTHON-TEST-MYMODULE ${test_command})

thanks !

-- 
Mathieu


More information about the CMake mailing list