On 23/10/11 23:39, Laxmikant Rashinkar wrote : > Hi, > > I want to build FreeRdp 1.0 and have it installed to /staging/freerdp > instead of /usr/local/blah. How does one do this with cmake? > > In other words, what is the equivalent of ./configure --prefix in cmake
cmake -DCMAKE_INSTALL_PREFIX="/staging/freerdp" /path/to/Freerdp/sources/CMakeLists.txt for instance : > cd freerdp > mkdir build > cd build > cmake -DCMAKE_INSTALL_PREFIX="/staging/freerdp" ../CMakeLists.txt > make alternatively, you can use ccmake : - go into your build directory (the folder in which you type "make" to build Freerdp) - type ccmake . - edit CMAKE_INSTALL_PREFIX value (select line with arrows, type enter, change path, type enter) - type 'c' to configure then 'g' to "generate and exit" - make Alexis ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Freerdp-devel mailing list Freerdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel