Re: [CMake] Alternative to CMAKE_PREFIX_PATH

2016-01-18 Thread Thomas Richard
For our project we set QT_BINARY_DIR which finds most of the Qt5XXX ones (it is defined in the FindQt5.cmake). We however also added the non-standard QT_LIBRARY_CMAKE_DIR to search for the Qt5 when they are not installed in the default location (the default we put is

Re: [CMake] Using MPI Profiler Scalasca in Cmake

2013-09-24 Thread Thomas Richard
Can't you simply change the cmake compiler and cflags using CMAKE_CXX_COMPILER and CMAKE_CXX_FLAGS (or add_definitions())? For example something like: cmake -DCMAKE_CXX_COMPILER=scalasca -DCMAKE_CXX_FLAGS=-instrument mpicxx From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On

[CMake] [CPack] replace files in source tree when packaging sources

2013-08-23 Thread Thomas Richard
of the headers So now I can run make dist and it will use my binary files instead of the source files when creating the package. I hope this will help other people that may have struggle searching on the web on how to replace a file when packaging sources with CPack. Thomas RICHARD -- Powered

Re: [CMake] Copy dlls to release and debug folder

2013-04-18 Thread Thomas Richard
Hi Lloyd, Personally I copy the DLLs to the VS folder (so that the program can be run from visual studio) using the following script. It looks more complicated than it is. A macro is available to several of my projects to select which Qt module they use and create a list of dlls to copy. Then

Re: [CMake] Copy dlls to release and debug folder

2013-04-18 Thread Thomas Richard
} ${HEADERS}) set_source_files_properties(${HEADERS_MOC} PROPERTIES GENERATED TRUE) target_link_libraries(ParamGui ${QT_LIBRARIES}) From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Lloyd Sent: 18 April 2013 12:40 To: Thomas Richard Cc: CMake ML Subject: Re: [CMake] Copy

[cmake-developers] [Generator] Android.mk

2013-03-22 Thread Thomas Richard
? Thank you for reading, Thomas RICHARD -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe