I can provide assistance if you want to
attempt this.
Thanks.
-Bill
good morning,
i have downloaded the cmake sources. i see a couple of xcode related files. by
way of a head start, can you provide a few pointers. where is the hash what
variables am i looking for? (don't exhaust
Hello,
For our Project, we need a structure where its possible to work/test/deploy
a single module and also build products which uses some modules.
f.e
MODULE 1
/bin
/scr
/test-src
CMakeLists.txt
MODULE 2
/bin
/src
/test-src
CMakeLists.txt
PRODUCT 1
On 4. Mar, 2010, at 14:02 , Flo wrote:
Hello,
For our Project, we need a structure where its possible to work/test/deploy
a single module and also build products which uses some modules.
f.e
MODULE 1
/bin
/scr
/test-src
CMakeLists.txt
MODULE 2
/bin
ha...@mac.com wrote:
I can provide assistance if you want to
attempt this.
Thanks.
-Bill
good morning,
i have downloaded the cmake sources. i see a couple of xcode related
files. by way of a head start, can you provide a few pointers. where is
the hash what variables am i looking for?
Surya Kiran Gullapalli wrote:
Hello all,
I'm using Find_Library call at several places to locate libraries.
The document says if Find_Library finds the library it stores the path
in a cache variable, and Find_Library does not gets called again for the
variable.
Now If I run configure,
Still unsolved.
Meanwhile I have made a horrible kludge that works for now, but which i
really wouldn't want to leave as it is.
I think my problems could be solved if i could define the version of the
library which to look for.
Is this somehow possible?
I'll look into the documentation once
Is there an archive of the interview?
--
Mike Jackson www.bluequartz.net
On Mar 3, 2010, at 3:39 PM, Bill Hoffman wrote:
At 4:30, I am going to be interviewed for FLOSS Weekly.
The chat is here:
http://irc.twit.tv/
The video is here:
http://live.twit.tv/
Should be going on some time
On 4 March 2010 14:04, Michael Jackson mike.jack...@bluequartz.net wrote:
Is there an archive of the interview?
I'm guessing it will appear at http://twit.tv/FLOSS
--
Matt Williams
http://milliams.com
___
Powered by www.kitware.com
Visit other
Matt Williams wrote:
On 4 March 2010 14:04, Michael Jackson mike.jack...@bluequartz.net wrote:
Is there an archive of the interview?
I'm guessing it will appear at http://twit.tv/FLOSS
Yup, it should be 111, which is not up yet.
-Bill
___
Powered
given a config like this
TARGET_LINK_LIBRARIES(${KIT}CxxTests vtkIO vtkImaging vtksys)
I have the trouble that vtksys pulls in a whole bunch of DynamicLoader stuff
(kwsys) - which apart from being rather odd when building statically, forces
the linker to need -ldl added to the link line.
The
On 4. Mar, 2010, at 15:56 , Biddiscombe, John A. wrote:
given a config like this
TARGET_LINK_LIBRARIES(${KIT}CxxTests vtkIO vtkImaging vtksys)
I have the trouble that vtksys pulls in a whole bunch of DynamicLoader stuff
(kwsys) - which apart from being rather odd when building
Biddiscombe, John A. wrote:
given a config like this
TARGET_LINK_LIBRARIES(${KIT}CxxTests vtkIO vtkImaging vtksys)
I have the trouble that vtksys pulls in a whole bunch of DynamicLoader
stuff (kwsys) – which apart from being rather odd when building
statically, forces the linker to need –ldl
Bill
Does ParaView itself not
link static on linux?
In general no not really. On our Cray we have no dynamic lib support and this
kind of thing is very painful. On other machines even if you turn off shared
libs, in actual fact, the final exe does pull in all the system libs as shared
I am experimenting with Michael's CMAKE_CXX_LINK_EXECUTABLE suggestion
It's works.
Nice one. I like it, override the link line generation stuff with additional
flags. I can at least proceed now with getting other things fixed, though I
understand the nasty hack nature of the solution.
Thanks
Biddiscombe, John A. wrote:
Bill
Does ParaView itself not link static on linux?
In general no not really. On our Cray we have no dynamic lib support
and this kind of thing is very painful. On other machines even if you
turn off shared libs, in actual fact, the final exe does pull in all
How hard would it be to augment CMake to allow custom tool files?
I would need to specify the tool file in the project:
ToolFiles
ToolFile
RelativePath=..\..\common\mycode.rules
/
/ToolFiles
Then specify it in the
Hi all,
I am currently trying to link a DLL with the netcdf_c++ static library
in the hope I will not have to redistribute netcdf itself. (I thought
the DLL could contain the needed code itself).
Therefore I used
target_library_add({${myLib} ${netcdf_c++.lib})
While I can build that library
On Thu, Mar 04, 2010 at 06:30:02PM +0100, Christoph Höger wrote:
I am currently trying to link a DLL with the netcdf_c++ static library
in the hope I will not have to redistribute netcdf itself. (I thought
the DLL could contain the needed code itself).
This should work. Be careful, though. I
On Wed, Mar 03, 2010 at 09:55:39AM -0800, J Decker wrote:
OKay these should work great, but have to be done on a per-target
basis, rather than being built into the generator. How would the
...\share\cmake-2.8\Modules\Platform\Windows-wcl386.cmake get modified
to set link_flags?
I would write
I want to make an executable depend on output of a custom command. The
custom command just copies a file to a place where the executable will be
able to find it. I find that I can't get a dependency between an
executable and, essentially, a file to work.
For example, this doesn't work:
On Thu, Mar 04, 2010 at 11:50:14AM -0800, aaron_wri...@selinc.com wrote:
For example, this doesn't work:
ADD_EXECUTABLE(foo ${foo_SOURCES} ${foo_HEADERS})
ADD_CUSTOM_COMMAND(
OUTPUT ${PROJECT_BINARY_DIR}/bar.ini
COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/bar.ini
I am trying to use cmake v2.8.0 on Windows XP to link a library. On Mac OS X
and Linux, it works. But on Windows I get a very strange error:
C:\strawberry\c\bin\ld.exe: /lib: No such file: No such file or
directory
The only thing I can think of is that this is some kind of reference
On 04.03.10 17:08:32, Simmons, Aaron wrote:
I am trying to use cmake v2.8.0 on Windows XP to link a library. On Mac OS X
and Linux, it works. But on Windows I get a very strange error:
C:\strawberry\c\bin\ld.exe: /lib: No such file: No such file or
directory
The only thing I can
You're right-- msvc uses link; I was thinking of gcc's ld. I guess the
question is why is it trying to use ld at all? Cmake successfully detects
that its using msvc/nmake, as it compiles all of the .c files with cl. It's
the lib-linking step that falls down.
Here is my set output:
I ended up writing my own macro to do the job:
http://code.google.com/p/soupcon/source/browse/trunk/findxul/FMP.cmake
there's also some usage example in my FindXUL module:
http://code.google.com/p/soupcon/source/browse/trunk/findxul/FindXUL.cmake
That's a bit more complex than what I described as
On 04.03.10 17:27:56, Simmons, Aaron wrote:
You're right-- msvc uses link; I was thinking of gcc's ld. I guess the
question is why is it trying to use ld at all? Cmake successfully detects
that its using msvc/nmake, as it compiles all of the .c files with cl.
It's the lib-linking step
Andreas Pakulat wrote:
On 04.03.10 17:27:56, Simmons, Aaron wrote:
You're right-- msvc uses link; I was thinking of gcc's ld. I guess
the question is why is it trying to use ld at all? Cmake successfully
detects that its using msvc/nmake, as it compiles all of the .c files
with cl. It's
Hi,
I'm trying to develop a simple application using SDL on OS X. Here's my
CMakeLists.txt:
cmake_minimum_required(VERSION 2.8)
project(newapp)
include(FindSDL)
include(FindOpenGL)
include_directories(${SDL_INCLUDE_DIR})
string(REPLACE -framework Cocoa SDL_LIBRARY ${SDL_LIBRARY})
Thanks-- the cmake cache is where the trouble is:
CMAKE_LINKER:FILEPATH=C:/strawberry/c/bin/ld.exe
I used to have strawberry perl installed a while ago, but it's now uninstalled.
I guess I ran cmake back then and it cached the wrong linker. Rerunning cmake
doesn't seem to overwrite
SDL_library is not a source file, so don't call:
set_source_files_properties
on it...
That should eliminate the spurious content copy attempt...
On Thu, Mar 4, 2010 at 6:17 PM, Francisco Requena the@gmail.com wrote:
Hi,
I'm trying to develop a simple application using SDL on OS X.
On Thu, Mar 04, 2010 at 06:19:03PM -0500, Simmons, Aaron wrote:
Thanks-- the cmake cache is where the trouble is:
CMAKE_LINKER:FILEPATH=C:/strawberry/c/bin/ld.exe
I'm not sure where the bug is (if there is one). Should re-running
cmake recreate the cache? Why does the presence of
but then, for every project that already exists, it won't build
correctly using watcom, because the options just aren't set in the
generator, or 3 more flavors of generators aren't added to support
static library, executlable and dynamic library with correct compile
time options.
But then
I have tracked it down, and have discovered that the wmake watcom
generator does not support watcom... lacking the following lines...
ENABLE_LANGUAGE(RC)
SET(CMAKE_COMPILE_RESOURCE rc)
SET(CMAKE_RC_COMPILE_OBJECT CMAKE_RC_COMPILER /foOBJECT SOURCE)
Problem with adding this, is that
33 matches
Mail list logo