On Dec 19, 2007 12:35 PM, Bill Hoffman [EMAIL PROTECTED] wrote:
Clark J. Wang wrote:
Anybody has any idea?
On Dec 11, 2007 5:07 PM, Clark J. Wang [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I
This is fine for `sys/event.h' is not available on my system. But
when
Anybody has any idea?
On Dec 11, 2007 5:07 PM, Clark J. Wang [EMAIL PROTECTED] wrote:
I have a CMakeLists.txt like this:
PROJECT(foo)
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
INCLUDE(CheckIncludeFile)
CHECK_INCLUDE_FILE(poll.h VAR1)
CHECK_INCLUDE_FILE(sys/event.h VAR2)
When I run
I have a CMakeLists.txt like this:
PROJECT(foo)
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
INCLUDE(CheckIncludeFile)
CHECK_INCLUDE_FILE(poll.h VAR1)
CHECK_INCLUDE_FILE(sys/event.h VAR2)
When I run `cmake .' it outputed like this:
-- Check for working C compiler: /usr/bin/gcc
-- Check for
The header of many CMake modules often looks like this (take
CheckIncludeFile as an example):
MACRO(CHECK_INCLUDE_FILE INCLUDE VARIABLE)
IF(${VARIABLE} MATCHES ^${VARIABLE}$)
... ...
The IF statement really puzzles me a lot. What is it used to do?
On 7/25/07, Andy Dingfelder [EMAIL PROTECTED] wrote:
I'm wondering if someone could help me with a simple change to the
helloworld example
I have gotten the helloworld to work with either windows output or
linux output, by changing the base CMakeLists.txt file but am struggling
on how to build
On 7/19/07, cjacker [EMAIL PROTECTED] wrote:
Shall I reply this message?
I found a question about redflag
Is RedFlag's project using CMake?
Yes.
I am A so called Development Dept. Senior Manager from RedFlag.
Is RedFlag hiring new people? Maybe I can consider joining RedFlag. :-)
From
On 7/19/07, cjacker [EMAIL PROTECTED] wrote:
I am writing a not too short Chinese tutorial about cmake.
Up to now nine chapter had already been finished, include:
Interesting. Is RedFlag's project using CMake? :-)
prefix
1,about cmake
2,how to install cmake.
3,Hello World in cmake
use
On 7/19/07, cjacker [EMAIL PROTECTED] wrote:
cmake-2.4.6.
I had search it anywhere.
somebody said these are environment variable
in some CMakeLists.txt
I also find something like this:
set(CMAKE_INCLUDE_PATH /include)
This seems like a cmake variable not a environment variable.
Also, I did
On 7/10/07, B. Carrupt [EMAIL PROTECTED] wrote:
It's working now, thanks. I had to add /usr/local/lib in ld.so.conf
(don't know why it's not there by default) so that the wx libraries
could be found.
What I don't understand is why it was working when I ran the binary
from the build/bin
On 7/9/07, digicapt - cmake [EMAIL PROTECTED] wrote:
Hi,
I'm using the version 2.4-patch 6 of cmake on a Fedora core 6 and I have a
problem with the INSTALL : the generated target works fine (in the build
directory) but the copy in the destination is changed so that some libraries
are not
The wiki page on http://www.cmake.org/Wiki/CMake_Cross_Compiling says:
Cross compiling is supported by CMake starting with version 2.6.0.
Where's CMake 2.6.0?
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
On 6/29/07, Alexandru Ciobanu [EMAIL PROTECTED] wrote:
Hi, Clark!
Here is the reason why I wanted to use this approach.
I use ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET because I don't want
to run that Makefile at all if the files did not change.
ADD_CUSTOM_TARGET with ALL parameter would
On 7/1/07, Mike Jackson [EMAIL PROTECTED] wrote:
On Jun 30, 2007, at 3:12 PM, Alan W. Irwin wrote:
On 2007-06-30 11:50-0400 Mike Jackson wrote:
So I tried various incantations of SET_TARGET_PROPERTIES and all
had no effect:
IF ( APPLE )
SET_TARGET_PROPERTIES (${MXADATAMODEL_LIB_NAME}
On 6/28/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
On 2007-06-28 10:08-0400 Alexandru Ciobanu wrote:
Hi!
I am trying to build kernel modules with CMake. To do that I
use the command below:
add_custom_target ( manager.ko ${kbuild_cmd}
WORKING_DIRECTORY
On 6/29/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
On 2007-06-29 09:04+0800 Clark J. Wang wrote:
On 6/28/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
On 2007-06-28 10:08-0400 Alexandru Ciobanu wrote:
If I use the ALL parameter in add_custom_target() it will always
rebuild
it,
even
I downloaded chicken-2.6 from
http://www.call-with-current-continuation.org/index.html and compiled it
with CMake-2.4.6. When making, the progress percentage showed more than
100%:
... ...
[ 96%] Building C object CMakeFiles/libuchicken.dir/runtime.o
[ 98%] Building C object
There's already a but for it:
http://www.cmake.org/Bug/bug.php?op=showbugid=5096
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
On 6/15/07, Brandon Van Every [EMAIL PROTECTED] wrote:
On 6/13/07, Clark J. Wang [EMAIL PROTECTED] wrote:
I've tried GET_TARGET_PROPERTY but it does not work. The SUFFIX property
returns NOTFOUND unless we explicitly set it by calling
SET_TARGET_PROPERTIES.
I'd call that a bug. Would you
Shared libs have different suffixes on different OSes. For example on Linux
the suffix is `.so' and on Mac OS X it's `.dylib'. I want to use `dlopen()'
in my code so I want to get the suffix and then define it in a header file.
Can I do that in CMake? And how?
Thanks.
On 6/14/07, Brandon Van Every [EMAIL PROTECTED] wrote:
On 6/13/07, Clark J. Wang [EMAIL PROTECTED] wrote:
Shared libs have different suffixes on different OSes. For example on
Linux
the suffix is `.so' and on Mac OS X it's `.dylib'. I want to use
`dlopen()'
in my code so I want to get
On 6/14/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
On 2007-06-14 08:58+0800 Clark J. Wang wrote:
Shared libs have different suffixes on different OSes. For example on
Linux
the suffix is `.so' and on Mac OS X it's `.dylib'. I want to use
`dlopen()'
in my code so I want to get the suffix
On 6/14/07, Clark J. Wang [EMAIL PROTECTED] wrote:
On 6/14/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
On 2007-06-14 08:58+0800 Clark J. Wang wrote:
Shared libs have different suffixes on different OSes. For example on
Linux
the suffix is `.so' and on Mac OS X it's `.dylib'. I want
$ ls
CMakeLists.txt dummy.c
$ cat CMakeLists.txt
PROJECT(foo)
ADD_LIBRARY(dummy SHARED EXCLUDE_FROM_ALL dummy.c)
$ cmake .
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working
On 6/10/07, Jack Kelly [EMAIL PROTECTED] wrote:
Clark J. Wang wrote:
Clark J. Wang wrote:
Another question:
By default `make clean' does not know how to clean the 3rd-party
package. How can I add another command which will be run by `make
clean
On 6/10/07, Mike Jackson [EMAIL PROTECTED] wrote:
On Jun 10, 2007, at 8:30 AM, Clark J. Wang wrote:
On 6/10/07, Jack Kelly [EMAIL PROTECTED] wrote:
Clark J. Wang wrote:
Clark J. Wang wrote:
Another question:
By default `make clean' does not know how to clean
On 6/9/07, Brandon Van Every [EMAIL PROTECTED] wrote:
On 6/9/07, Clark J. Wang [EMAIL PROTECTED] wrote:
ADD_CUSTOM_COMMAND(
OUTPUT ${hellolib} ${helloexe}
COMMAND make -C ${hellodir}
COMMAND cp ${hellodir}/libhello.so ${hellolib}
COMMAND cp ${hellodir}/hello ${helloexe
On 6/9/07, Clark J. Wang [EMAIL PROTECTED] wrote:
For example, I have a project `test' which needs a 3rd-party software
`hello'. The directory structure looks like this:
test/test.c
test/CMakeLists.txt
test/build -- I run cmake in this directory
test/hello/hello.c
test/hello/main.c
test/hello
On 6/9/07, gga [EMAIL PROTECTED] wrote:
Clark J. Wang wrote:
Another question:
By default `make clean' does not know how to clean the 3rd-party
package. How can I add another command which will be run by `make
clean'?
AFAIK, you can't. But you can add additional files to the clean
For PROJECT(project), what's the difference between CMAKE_SOURCE_DIR,
PROJECT_SOURCE_DIR and project_SOURCE_DIR? And XXX_BINARY_DIR?
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
On 5/22/07, Clark J. Wang [EMAIL PROTECTED] wrote:
For PROJECT(project), what's the difference between CMAKE_SOURCE_DIR,
PROJECT_SOURCE_DIR and project_SOURCE_DIR? And XXX_BINARY_DIR?
I found quite a few of similar variables on the wiki page (
http://www.cmake.org/Wiki/CMake_Useful_Variables
On 5/23/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
On 2007-05-23 09:50+0800 Clark J. Wang wrote:
In Cygwin environment I have a C source file named `grep.c' which needs
`libpcre' to compile. The CMakeLists.txt writes:
PROJECT(myGrep)
SET(CMAKE_VERBOSE_MAKEFILE ON)
FIND_PROGRAM
On 5/18/07, Clark J. Wang [EMAIL PROTECTED] wrote:
On 5/18/07, Alan W. Irwin [EMAIL PROTECTED] wrote:
On 2007-05-18 11:00+0800 Clark J. Wang wrote:
In my Ubuntu Linux box, after INCLUDE(FindTCL) I get the following
result:
TCL_INCLUDE_PATH = /usr/include/tcl8.4
TCL_LIBRARY
On 5/17/07, haibin zhang [EMAIL PROTECTED] wrote:
Hi all :
how to get $host in cmake ?
In autotool , it can use $host to get compile environment, example
cygwin,i686-pc-mingw32 .
Use CMAKE_SYSTEM
regards
--
Mp3疯狂搜-新歌热歌高速下
set this , WIN32 or UNIX or other ?
When running `cmake path-to-source' , there will be a file
`path-to-source/CMakeFiles/CMakeCCompiler.cmake' created.It'll set
variables like UNIX, CYGWIN or MINGW.
regards
*Clark J. Wang [EMAIL PROTECTED]* 写道:
On 5/17/07, haibin zhang [EMAIL PROTECTED
In my Ubuntu Linux box, after INCLUDE(FindTCL) I get the following result:
TCL_INCLUDE_PATH = /usr/include/tcl8.4
TCL_LIBRARY = /usr/lib/libtcl8.4.so
But in my Mac OS X 10.4 the result is:
TCL_INCLUDE_PATH = /System/Library/Frameworks/Tcl.framework/Headers
TCL_LIBRARY =
I have a C source file `foo.c' and I want to produce 2 executables like
this:
$ gcc -DFLAG_1 -o foo_1 foo.c
$ gcc -DFLAG_2 -o foo_2 foo.c
How should I write the CMake rules?
Thanks.
___
CMake mailing list
CMake@cmake.org
Thanks, Eric.
The FM is not as easy to understand as the FMs of autotools :)
I prefer TexInfo format manuals. It's much readable than man pages but I
find no TexInfo manuals in CMake's package :(
On 5/15/07, Eric Noulard [EMAIL PROTECTED] wrote:
2007/5/15, Clark J. Wang [EMAIL PROTECTED]:
I
I read through the CMake's man page and found no support for lex/flex and
yacc/bison. Need I define my own rules to handle with lex/yacc source files?
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
38 matches
Mail list logo