Philip Lowman wrote:
On Fri, Feb 27, 2009 at 5:24 PM, Brad King Try removing an object file from a shared library, rebuild just that
library,
and then run the executable (which still exists). It will break at
runtime,
but if you try relinking the executable it will fail at bu
On Fri, Feb 27, 2009 at 5:24 PM, Brad King wrote:
> Philip Lowman wrote:
>
>> I wasn't thinking of it in that context when I said that. Yes, I think
>> you're correct and I've noticed that behavior before. I usually work around
>> it with make foo/fast assuming foo is the shared library I'm pat
Philip Lowman wrote:
I wasn't thinking of it in that context when I said that. Yes, I think
you're correct and I've noticed that behavior before. I usually work
around it with make foo/fast assuming foo is the shared library I'm
patching.
Not sure why CMake does what it does. For the Makef
On Fri, Feb 27, 2009 at 2:32 PM, Jed Brown wrote:
> On Fri 2009-02-27 20:26, Jed Brown wrote:
> > On Fri 2009-02-27 11:09, Bill O'Hara wrote:
> > > Lets say I have a CMakeLists.txt like this:
> > >
> > > add_library(foo STATIC foo.c bar.c)
> > > add_executable(test test.c)
> > > target_link_libra
On Fri 2009-02-27 20:26, Jed Brown wrote:
> On Fri 2009-02-27 11:09, Bill O'Hara wrote:
> > Lets say I have a CMakeLists.txt like this:
> >
> > add_library(foo STATIC foo.c bar.c)
> > add_executable(test test.c)
> > target_link_libraries(test foo)
> >
> > where test.c uses only functions defined
On Fri 2009-02-27 11:09, Bill O'Hara wrote:
> Lets say I have a CMakeLists.txt like this:
>
> add_library(foo STATIC foo.c bar.c)
> add_executable(test test.c)
> target_link_libraries(test foo)
>
> where test.c uses only functions defined in foo.c but not bar.c (assume some
> other target will us
On Fri, Feb 27, 2009 at 2:09 PM, Bill O'Hara wrote:
> Lets say I have a CMakeLists.txt like this:
>
> add_library(foo STATIC foo.c bar.c)
> add_executable(test test.c)
> target_link_libraries(test foo)
>
> where test.c uses only functions defined in foo.c but not bar.c (assume
> some other target
Lets say I have a CMakeLists.txt like this:
add_library(foo STATIC foo.c bar.c)
add_executable(test test.c)
target_link_libraries(test foo)
where test.c uses only functions defined in foo.c but not bar.c (assume some
other target will use foo as well and use functions from both foo.c and
bar.c).