Hi guys,

On Sun, 29 Nov 2009, Jérémy Zurcher wrote:

mkdir build && cd build && cmake -D WANT_JACK=1 .. && make
build everything out of the source tree.

Small warning about out-of-tree builds and hydrogen: When you start H2, it won't find the 'global' data directory in the source tree (the one that has all the default settings and stuff).[1] So, either build H2 in-tree or install it after building (-DCMAKE_INSTALL_PREFIX=$HOME/mychroot).

Also, for Composite I've gone to a cmake build... and have done several things to build on Jérémy's system.[2] Let me know if you'd like me to port it to Hydrogen.

   - all the GetDataDirectory and get_data_path should be held in a single
   class for multiple reasons ...

I agree... but they sort of are are, already. Preferences::getDataDirectory() is using get_data_path().

-gabriel

[1] Ref data_path.cpp:58 where it searches for the data
    folder in the same directoray as the application.

[2] For example: Jérémy's script only works with
    pkg-config... which is a no-go on OS's like Windows...
    but the one for Composite can be configured to find the
    packages in the absence of pkg-config.  I did this by
    adding custom modules like FindFLAC.cmake and
    FindJACK.cmake.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to