Re: [CMake] Newbie questions; dual targeting, unit test support, cross-compilation

2012-09-18 Thread BELLUS Stefan
Nice example, good job. I'm trying mostly the same. I don't understand why you want to run test on target platform. I guess (because tests are platform independent) it is ok to run tests only on host. Or I miss something? CppUTest supports also memory leaks detection. When you include (#include

[CMake] Bug? CPack packages also targets from externalproject.

2012-09-14 Thread BELLUS Stefan
I have project with name "DocumentLibrary" that depends on external project with name "PrinterLibrary". #add external project ExternalProject_add(PrinterLibrary SVN_REPOSITORY ${svnPath} PREFIX ${CMAKE_CURRENT_BINARY_DIR}/dependecies-sources/ Pri