|
Re: A working CMakeLists.txt: msg#00057lisp.scheme.chicken
On 12/14/05, Brandon J. Van Every <bvanevery@xxxxxxxxx> wrote: > I found some bugs in CMake, pertaining to PREFIX and OUTPUT properties. > Basically, they don't work correctly with respect to make targets, if > there are 2 targets with the root word "chicken," i.e. libchicken.dll > and chicken.exe. Bill Hofffman has kindly provided a way to work around > the problem. The basic trick is to add lines such as > ADD_DEPENDENCIES(chicken-setup chicken_exe) to anything that needs > chicken.exe. Thanks, I've applied your patches. When running this (actually the previous version), I get errors during the build that indicate that cmake doesn't like hyphens ("-") in target names (applies to chicken-profile and chicken-setup). Do you get the same errors? Also, Bill hinted that multiple DEFINE_SYMBOL properties are not allowed, when set in a single SET_TARGET_PROPERTIES (applies to the libraries). BTW, with your cmake-built version, does (require 'srfi-1) (i.e. dynamic loading) work? > I suppose we don't have a README on how to use CMake to build Chicken. > I will prepare one. Meanwhile, If you understand how to set up Chicken > for a ./configure based build, i.e. all the paths and etc., and you also > know CMake's general theory of operation, i.e. a CMakeLists.txt and > using CMakeSetup.exe, then you're all set. > A README would be helpful. Thanks. cheers, felix |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | win32 binaries + snapshot: 00057, felix winkelmann |
|---|---|
| Next by Date: | Re: win32 chicken: 00057, Graham Fawcett |
| Previous by Thread: | A working CMakeLists.txti: 00057, Brandon J. Van Every |
| Next by Thread: | Re: A working CMakeLists.txt: 00057, Brandon J. Van Every |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |