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
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
Sent this in a few days ago for any who are interested.
http://public.kitware.com/Bug/view.php?id=8222
It's not bloat, it's convenience! =)
--
Philip Lowman
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
On Tue, Dec 9, 2008 at 1:08 PM, Philip Lowman <[EMAIL PROTECTED]> wrote:
> This is a known problem. Visual Studio has no way of knowing that the
> compiler flags changed in a project file CMake is writing to.
>
> I would love to see a patch for this for CMake 2.8.
One thought I had here was to
Robert Dailey wrote:
I actually did a little thinking and I came up with this:
add_custom_command( TARGET ${component_project_name}
POST_BUILD
COMMAND "depends.py" ARGS "$(ConfigurationName)"
)
Of course this only works for visual studio projects, b
2008/12/9 Robert Dailey <[EMAIL PROTECTED]>:
> On Tue, Dec 9, 2008 at 11:05 AM, Robert Dailey <[EMAIL PROTECTED]> wrote:
>>
>> Michael,
>>
>> Is there a way to call add_custom_command() on a specific configuration
>> for a specific target? If I can do this then I can use CMAKE to copy the
>> files
On Tue, Dec 9, 2008 at 4:33 PM, Robert Dailey <[EMAIL PROTECTED]> wrote:
> On Tue, Dec 9, 2008 at 4:25 PM, Bill Hoffman <[EMAIL PROTECTED]>wrote:
>
>> Robert Dailey wrote:
>>
>>
>>> After much research, I've found out that CMake cannot provide a custom
>>> command (Post build event) to a specific
Hello, My project is layout like this:
Linux-cmd$ tree
.
|-- CMakeLists.txt
|-- core
| |-- CMakeLists.txt
| |-- ... ... ...
| |-- (Some source files to implement the internal function.)
`-- ui
|-- CMakeLists.txt
|-- ... ... ...
|-- (Some source files to impliment the UI)
|-- main.cpp
On Tue, Dec 9, 2008 at 4:25 PM, Bill Hoffman <[EMAIL PROTECTED]>wrote:
> Robert Dailey wrote:
>
>
>> After much research, I've found out that CMake cannot provide a custom
>> command (Post build event) to a specific configuration in the case where
>> CMake is used to generate a multi-configuration
Robert Dailey wrote:
After much research, I've found out that CMake cannot provide a custom
command (Post build event) to a specific configuration in the case where
CMake is used to generate a multi-configuration target, such as a visual
studio project. This is a HUGE problem for me. Are the
On Tue, Dec 9, 2008 at 11:05 AM, Robert Dailey <[EMAIL PROTECTED]> wrote:
> Michael,
>
> Is there a way to call add_custom_command() on a specific configuration for
> a specific target? If I can do this then I can use CMAKE to copy the files
> appropriately and your method would work perfectly.
>
Problem solved! I finally found some time today to checkout the CMake
source code and get setup for development. I started the build and found
the answer I was looking for in
cmLocalVisualStudio7Generator::OutputBuildTool() :
const char* tool = "VCLibrarianTool";
fout << "\t\t\t
Thank
On Tuesday 09 December 2008, Eric Noulard wrote:
> 2008/12/9 Shlomi Fish <[EMAIL PROTECTED]>:
> > Hi all!
> >
> > I have a .so library (for Unix/Windows) that I maintain several versions
> > of. I'd like to have a symbolic links structure similar to
> > libtool's -version-info :
> >
> > http://www.
On Tue, Dec 9, 2008 at 12:30 PM, David Cole <[EMAIL PROTECTED]> wrote:
> "file(GLOB" with globbing expression of "*" and then iterate the results
> and ask "if(IS_DIRECTORY" on each result...
Thanks, this works perfectly!
___
CMake mailing list
CMake@c
Am Tuesday 09 December 2008 18:09:23 schrieb kafou nmento:
> Hi all!
> I'm compiling a Qt based libtorrent app with CMake using MinGW generator.
> For those not knowing libtorrent, it is a lib fully boost based. (boost
> version used 1.34.1). 100% of the build goes well. But at the linking it
> fai
"file(GLOB" with globbing expression of "*" and then iterate the results and
ask "if(IS_DIRECTORY" on each result...
On Tue, Dec 9, 2008 at 1:15 PM, Robert Dailey <[EMAIL PROTECTED]> wrote:
> How would I use file( GLOB ) to get a list of directories instead of files?
>
> _
How would I use file( GLOB ) to get a list of directories instead of files?
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
This is a known problem. Visual Studio has no way of knowing that the
compiler flags changed in a project file CMake is writing to.
I would love to see a patch for this for CMake 2.8.
.. Original Message ...
On Tue, 9 Dec 2008 10:38:22 -0700 "James Bigler" <[EMAIL PROTECTED]>
wrote:
>I
I'm using CMake 2.6.3R5 on WinXP 64 using VS 2005 building a 32 bit binary.
When I changed a CMake option it removed a call to add_definitions. The
flags used to compile the project now changed. I thought I remember (and
perhaps this was when I was using Makefiles more), that it should trigger a
Hi all!
I'm compiling a Qt based libtorrent app with CMake using MinGW generator. For
those not knowing libtorrent, it is a lib fully boost based. (boost version
used 1.34.1).
100% of the build goes well. But at the linking it fails with errors like
"undefined reference to boost::". The most
Michael,
Is there a way to call add_custom_command() on a specific configuration for
a specific target? If I can do this then I can use CMAKE to copy the files
appropriately and your method would work perfectly.
Thanks for your tme.
___
CMake mailing li
George Neill wrote:
Bill,
On Tue, Dec 9, 2008 at 9:43 AM, Bill Hoffman <[EMAIL PROTECTED]> wrote:
George Neill wrote:
Bill,
On Tue, Dec 9, 2008 at 7:02 AM, Bill Hoffman <[EMAIL PROTECTED]>
wrote:
George Neill wrote:
Hi CMakers,
I'd like to use cmake with the Sun cc/CC compiler on linux.
Bill,
>> Do you have CXXFLAGS, CFLAGS, or LDFLAGS set in your environment before you
>> run CMake that have gnu flags in them?
>
> I do not,
>
> [EMAIL PROTECTED]:~$ env | grep CC
> [EMAIL PROTECTED]:~$ env | grep CXX
[EMAIL PROTECTED]:~$ env | grep CFLAGS
[EMAIL PROTECTED]:~$ env | grep CXXFLAG
2008/12/9 Shlomi Fish <[EMAIL PROTECTED]>:
> Hi all!
>
> I have a .so library (for Unix/Windows) that I maintain several versions of.
> I'd like to have a symbolic links structure similar to
> libtool's -version-info :
>
> http://www.ensta.fr/~diam/dev/online/autoconf/autobook/autobook_91.html
>
>
Bill,
On Tue, Dec 9, 2008 at 9:43 AM, Bill Hoffman <[EMAIL PROTECTED]> wrote:
> George Neill wrote:
>>
>> Bill,
>>
>> On Tue, Dec 9, 2008 at 7:02 AM, Bill Hoffman <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> George Neill wrote:
Hi CMakers,
I'd like to use cmake with the Sun cc/CC com
Hi all!
I have a .so library (for Unix/Windows) that I maintain several versions of.
I'd like to have a symbolic links structure similar to
libtool's -version-info :
http://www.ensta.fr/~diam/dev/online/autoconf/autobook/autobook_91.html
The problem is that when doing ADD_LIBRARY, the resultan
Martin Apel wrote:
Bill Hoffman wrote:
Martin Apel wrote:
Hi all,
I am generating a DLL under Windows using a def file. The def file
itself is generated. It seems that CMake (2.6.3rc5) does not generate a
dependency between the generated def file and the DLL. When I change the
input, from whic
George Neill wrote:
Bill,
On Tue, Dec 9, 2008 at 7:02 AM, Bill Hoffman <[EMAIL PROTECTED]> wrote:
George Neill wrote:
Hi CMakers,
I'd like to use cmake with the Sun cc/CC compiler on linux. What
do I need to change to make this work?
Put them in your PATH. Then set CC=cc, CXX=CC and ru
Bill Hoffman wrote:
> Martin Apel wrote:
>> Hi all,
>>
>> I am generating a DLL under Windows using a def file. The def file
>> itself is generated. It seems that CMake (2.6.3rc5) does not generate a
>> dependency between the generated def file and the DLL. When I change the
>> input, from which th
Bill,
On Tue, Dec 9, 2008 at 7:02 AM, Bill Hoffman <[EMAIL PROTECTED]> wrote:
> George Neill wrote:
>>
>> Hi CMakers,
>>
>> I'd like to use cmake with the Sun cc/CC compiler on linux. What
>> do I need to change to make this work?
>>
>
> Put them in your PATH. Then set CC=cc, CXX=CC and run c
Jose Luis Blanco wrote:
Hello CMake developers!
I've been thinking it would be interesting that CMake could look for
FooConfig.cmake package files in some likely paths such as C:\Program
Files\Foo-XXX\ . This is for Windows, of course, but perhaps could be
extended to /opt/foo-XXX/ in Unix syste
Martin Apel wrote:
Hi all,
I am generating a DLL under Windows using a def file. The def file
itself is generated. It seems that CMake (2.6.3rc5) does not generate a
dependency between the generated def file and the DLL. When I change the
input, from which the def file is generated, the def file
Brad King wrote:
Alexander Neundorf wrote:
So, I think it would be nice if find_package(NO_MODULE) would restore the
FIND_QUIETLY variable to the state it was before (as I'm doing here
manually).
Good idea. I don't think we make any guarantee either way about the
value of this variable *afte
Hello CMake developers!
I've been thinking it would be interesting that CMake could look for
FooConfig.cmake package files in some likely paths such as C:\Program
Files\Foo-XXX\ . This is for Windows, of course, but perhaps could be
extended to /opt/foo-XXX/ in Unix systems.
I've written a patch
Hi all,
I am generating a DLL under Windows using a def file. The def file
itself is generated. It seems that CMake (2.6.3rc5) does not generate a
dependency between the generated def file and the DLL. When I change the
input, from which the def file is generated, the def file is rebuilt,
but not
George Neill wrote:
Hi CMakers,
I'd like to use cmake with the Sun cc/CC compiler on linux. What
do I need to change to make this work?
Put them in your PATH. Then set CC=cc, CXX=CC and run cmake.
-Bill
___
CMake mailing list
CMake@cmake.org
36 matches
Mail list logo