Re: [CMake] Linking object files into executable target

2009-01-11 Thread Alexander Neundorf
On Wednesday 10 December 2008, Alexander Neundorf wrote: > On Wednesday 10 December 2008, Colin D Bennett wrote: > > On Tue, 9 Dec 2008 22:26:11 -0800 > > > > Colin D Bennett wrote: > > > The problem is that CMake is *silently* ignoring the request to link > > > the object file into the executable

Re: [CMake] Linking object files into executable target

2008-12-10 Thread Alexander Neundorf
On Wednesday 10 December 2008, Colin D Bennett wrote: > On Tue, 9 Dec 2008 22:26:11 -0800 > > Colin D Bennett <[EMAIL PROTECTED]> wrote: > > The problem is that CMake is *silently* ignoring the request to link > > the object file into the executable target with ADD_EXECUTABLE(). > > I forgot to inc

Re: [CMake] Linking object files into executable target

2008-12-10 Thread James Bigler
I asked a similar question about a month ago. The response can be found in the archive: http://www.cmake.org/pipermail/cmake/2008-November/025541.html I tried it on VS, and it seem to work (though I had to use .obj instead of .o to make it work). Perhaps you could take the response as a start a

Re: [CMake] Linking object files into executable target

2008-12-09 Thread Colin D Bennett
On Tue, 9 Dec 2008 22:26:11 -0800 Colin D Bennett <[EMAIL PROTECTED]> wrote: > The problem is that CMake is *silently* ignoring the request to link > the object file into the executable target with ADD_EXECUTABLE(). I forgot to include the CMake/SDCC toolchain file I'm using, which might be of he

[CMake] Linking object files into executable target

2008-12-09 Thread Colin D Bennett
I'm using CMake and SDCC to build a project for the 8051 microcontroller. CMake has been working great for this so far, but now I need to link in an object file that I've assembled with SDCC's "asx8051" assembler, and I am not able to get CMake to explicitly add an object file to the list of objec