Re: [CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake

2014-08-11 Thread Ravi Raman
Hi David, Executing the batch file from cmake function add_custom_command() in the COMMAND option is successful. But is there any mechanism in cmake in which we can specify the user-built executables OR project-specific executables directly from cmake function add_custom_command() in the COMMAN

[CMake] how to really change CMake linker

2014-08-11 Thread Mark Abraham
Hi, In order to build an application with several HPC performance utilities, it would be good to be able to specify the linker and have it show up on the link command line. I learned from http://cmake.3232098.n2.nabble.com/Specify-the-link-command-in-CMake-td6786695.html that using CMAKE_C_LINKER

[CMake] Possible bug in environment variable expansion?

2014-08-11 Thread Chris Volpe ARA/SED
I am trying to build an Open Source project called PCL which uses Boost, and CMake's ability to find the Boost libraries seems dependent on whether the BOOST_LIBRARYDIR contains a literal path string, or whether it contains a string that incorporates the expansion of BOOST_ROOT. Here are the det

Re: [CMake] Help cmake First project

2014-08-11 Thread Rodrigo Faccioli
Hi, Angeliki, thanks your comments. I used properties because my old makefile was written to use g++ despite my files have suffix .c. I understood that cmake tried to compile my files using gcc instead of g++. I removed my set compiler flags. Moreover, I have finished to compile all programs of

Re: [CMake] How to deal with incompatible changes in interface of target_link_libraries()?

2014-08-11 Thread Brad King
On 08/09/2014 09:46 AM, Marcel Loose wrote: > CMake 2.8.12 introduced the keywords PRIVATE, INTERFACE and PUBLIC, and > immediately deprecated the LINK_INTERFACE_LIBRARIES keyword, > triggering policy warnings CMP0022 and CMP0023. > > What is the proper way to get rid of these policy warnings, whi

Re: [CMake] Why there is not MSI installer for CMake?

2014-08-11 Thread David Cole via CMake
If silently installing is your objective, you may do so with an NSIS built *.exe installer. See this old blog post for details: http://www.kitware.com/blog/home/post/186 HTH, David C. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cma

Re: [CMake] Why there is not MSI installer for CMake?

2014-08-11 Thread Sergei Nikulov
2014-08-11 18:45 GMT+04:00 Alexey Petruchik : > It is well known that msi installers are more preferable way of > distributing apps on Windows than exe installers. For example msi packages > can be installed silently from command line. So why there is no msi package > for cmake? > > Regards, Alexe

[CMake] Why there is not MSI installer for CMake?

2014-08-11 Thread Alexey Petruchik
It is well known that msi installers are more preferable way of distributing apps on Windows than exe installers. For example msi packages can be installed silently from command line. So why there is no msi package for cmake? Regards, Alexey -- Powered by www.kitware.com Please keep messages on

[CMake] Setting variables in included cmake module files

2014-08-11 Thread Arindam Mukherjee
I have a listfile CMakeLists.txt which includes two cmake modules - vardefs.cmake and unix.cmake, both of which are included by the list file from some path set using CMAKE_MODULE_PATH. I set some variables in vardefs.cmake which I am trying to use in the list file and in unix.cmake. Looks like it