On 25/08/11 04:35, Rex Tsai wrote :
> On Wed, 2011-08-24 at 19:36 +0200, Christian Nilsson wrote:
>> Sorry, i might get of topic with this but...
>> A few things I've noticed that might want to be changed/fixed before 
>> switching
>>
>> First how do one compile FreeRDP-1.0 ?
>> is "cmake CMakeList.txt; make"
>> the correct way? some documentation about this would be nice, maybe in
>> the README file?
> 
> It's correct. You can assign compile options like -DWITH_SSE2=ON, for
> more detials you can check freerdp-1.0/cmake/ConfigOptions.cmake.

FYI after running cmake, you can also type

"ccmake ."

and enable/disable any compile option set by the cmakelists (e.g. "WITH_SSE2")


BTW, as a cmake user, I'd suggest building "out-of-the-source", i.e. you create 
a new directory for each compile configuration that you need :

mkdir -p builds/myconfig1
cd builds/myconfig1/
cmake ../.. (or "cmake /path/to/folder/with/cmakelists.txt/")
ccmake . (configure compilation as needed)
make

NB: if you've already build in-the-source, you'll need to clean all the 
cmake-generated files before running out-of-the-source, otherwise it won't work 
(cmake will continue to use in-source files)
NB2: the builds/myconfig1 folder doesn't even need to be in ./Freerdp-1.0/, as 
long as you give cmake the path to the main cmakelists.txt, it can be anywhere 
on your computer

Hope it helps,

Alexis

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to