I'm having trouble getting cmake to find FLTK using this code in my
CMakeLists.txt file:
FIND_PACKAGE(FLTK)
IF (FLTK_FOUND)
MESSAGE(STATUS "Looking for FLTK - found : ${FLTK_LIBRARIES}")
GET_FILENAME_COMPONENT(FLTKPATH ${FLTK_LIBRARIES} PATH)
LINK_DIRECTORIES(${FLTKPATH})
ELSE (FLTK_FOUND)
MESSAG
Original-Nachricht
Datum: Fri, 26 Jan 2007 15:24:29 -0800
Von: "Ignacio CastaƱo" <[EMAIL PROTECTED]>
An: cmake@cmake.org
Betreff: [CMake] Re: custom preprocessor
> I could use something as follows:
>
> GET_FILE_DEPENDENCIES(CUDEPS ${CUFILE})
>
> ADD_CUSTOM_COMMAND (
> OU
Wojciech Jarosz wrote:
Right. But other than the transitioning reason, is there any benefit
to using autoconf in conjunction with CMake, as opposed to using CMake
alone?
None. Autoconf is a complete royal PITA. Avoid it like the plague. I
didn't want to become an Autoconf expert... it was p
Wojciech Jarosz wrote:
I've been looking through other projects that use CMake in order to
learn more. I've seen that some (Chicken, Scribus, for example) seem
to have configure.in files in addition to CMakeList.txt files. I was
wondering why one would use both autoconf and CMake in the same
proj
Wojciech Jarosz wrote:
Right. But other than the transitioning reason, is there any benefit
to using autoconf in conjunction with CMake, as opposed to using CMake
alone? Also, would the general scenario be to use autoconf to pass
settings to CMake, or the other way around?
I'd be amazed if anyb
Right. But other than the transitioning reason, is there any benefit
to using autoconf in conjunction with CMake, as opposed to using CMake
alone? Also, would the general scenario be to use autoconf to pass
settings to CMake, or the other way around?
-w
On 1/28/07, Craig Ringer <[EMAIL PROTECT
Wojciech Jarosz wrote:
I've been looking through other projects that use CMake in order to
learn more. I've seen that some (Chicken, Scribus, for example) seem
to have configure.in files in addition to CMakeList.txt files. I was
wondering why one would use both autoconf and CMake in the same
proj
At the end of my top-level CMakeList.txt file I print out a bunch of
info for debug purposes: compiler, compiler flags, selected features,
etc. Is there an easy way to print out the CXX_FLAGS and C_FLAGS for
the selected build type for this purpose?
thanks,
-wojciech jarosz
__
I've been looking through other projects that use CMake in order to
learn more. I've seen that some (Chicken, Scribus, for example) seem
to have configure.in files in addition to CMakeList.txt files. I was
wondering why one would use both autoconf and CMake in the same
project?
Thanks,
-wojciech
sorry, that did work. thanks for your help.
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
TARGET_LINK_LIBRARIES(${CurrentExe} -framework Cocoa -framework Carbon)
>
> seems to return this error:
>
> /usr/bin/ld: can't locate framework for: -framework -lCocoa
>
> is there something I need to do before that?
> dave
Sorry put them in double quotes.
"-framework Cocoa" "-framework
David Morris wrote:
> //C compiler.
> CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc
>
> //CXX compiler.
> CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
>
> I'm not sure if the CXX compiler is correct, or if it should be
g++. I
> tried changing it there but it didn't go anythi
//C compiler.
> CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc
>
> //CXX compiler.
> CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
>
> I'm not sure if the CXX compiler is correct, or if it should be g++. I
> tried changing it there but it didn't go anything. Any ideas?
> thanks for the help,
> dave
>
You ne
On 2007-01-28 12:20-0700 Thompson, David C wrote:
Alan,
I've attached a patch that will find and use
the BLAS and LAPACK implementations in Apple's
Accelerate or vecLib frameworks. Only FindBLAS.cmake
needs to be modified since both BLAS and LAPACK
are provided in the same framework. I've tes
2007/1/28, David Morris <[EMAIL PROTECTED]>:
Thanks I will try that.
I have one other question that I have yet to find on the wiki or any other
site. What is the difference between a package and a library?
I'm trying to find FLTK as a package and it doesn't work,
FIND_PACKAGE does work i
Is it possible to update a variable inside a subfolders CMakeLists.txt?
It appears that the scope of the variable is limited to the current
CMakeLists.txt but is possible to get the above behavior?
--
Cheers!
kitts
___
CMake mailing list
CMake@cmake.or
Alan,
I've attached a patch that will find and use
the BLAS and LAPACK implementations in Apple's
Accelerate or vecLib frameworks. Only FindBLAS.cmake
needs to be modified since both BLAS and LAPACK
are provided in the same framework. I've tested
the macros on a simple project that calls a sing
David Morris wrote:
searching for these terms on google always show me something that is
Apple specific, and I found one old mailing list post about how CMake
thinks I'm not compiling on a OS X anymore, and that I need to trick
it into changing the compiler. I checked out my CMakeCache.txt
On 1/28/07, Eric Noulard <[EMAIL PROTECTED]> wrote:
2007/1/27, David Morris <[EMAIL PROTECTED]>:
> I'm new to cmake, and I have been trying to find a good comprehensive
> tutorial to get myself started, but have had no luck. Does anyone know a
> good one besides the cmake.org site and the linuxj
Jacob Xie wrote:
I am new comer for CMake, and I want to use CMake2.4-patch6 with
cygwin gcc tool, when I configured the variable in the CMake GUI, I
got this error in the bottom of GUI:
"Check for working C complier:
d:/cygwin/bin/gcc.exe -- broken"
and cmake running fail
2007/1/27, David Morris <[EMAIL PROTECTED]>:
I'm new to cmake, and I have been trying to find a good comprehensive
tutorial to get myself started, but have had no luck. Does anyone know a
good one besides the cmake.org site and the linuxjournal one?
No but the Wiki http://www.cmake.org/Wiki/CMa
21 matches
Mail list logo