Hi,
I would like to create a library (static or shared) and an executable with only
libraries (static) but no sources files. It seems add_library and
add_executable commands do not accept no source files. In my project, parent
directory creates library or executable from libraries created in
Hi,
main.c is not necessary for diab compiler (microcontroller) (add_executable
generates an .elf file thanks to my toolchain file).
I agree with you for executable and gcc but what about library ?
Seb
Message du 14/11/08 à 15h24
De : Mathieu Malaterre
A : [EMAIL PROTECTED]
Copie à
Hi,
I have troubles with file (GLOB_RECURSE ...) command : if two files, in
different sub-directories, have the same name, an error occurs :
CMake Error: Attempt to add a custom rule to output D:/bar/MyFile.pp.c.rule
which already has a custom rule.
Is there any way to fix it ?
Thanks,
Seb
Hi,
I would like to generate a shared library by using a .def file for export
symbols.
The generated makefile does not include def file :
ADD_LIBRARY(bar SHARED File1.c File2.c ${CMAKE_CURRENT_SOURCE_DIR}/bar.DEF)
-- C:/OUTILS/MinGW_3.1.0/bin/gcc.exe -shared -o lib/bar.dll
Hi,
These files are needed for the build. The only way I found is to put include
path in a variable and then used it in add_custom_command
Sebastien
Message du 17/10/08 à 19h04
De : Alexander Neundorf
A : [EMAIL PROTECTED]
Copie à : cmake@cmake.org
Objet : Re: [CMake] Problem
Hi,
I try to generate preprocessed files with gcc (gcc -E) and ADD_CUSTOM_COMMAND.
I use INCLUDE_DIRECTORIES in order to specify where the include files are but
this has not effect and so gcc generates an error :
ADD_CUSTOM_COMMAND(OUTPUT hello.pp.c
COMMAND ${CMAKE_C_COMPILER} -E hello.c
stdio.h MyFile.cio)
SET_SOURCE_FILES_PROPERTIES(MyFile.cio PROPERTIES LANGUAGE C)
ADD_LIBRARY(MyLib MyFile.cio)
SET_TARGET_PROPERTIES(MyLib PROPERTIES LINKER_LANGUAGE C)
Sebastien
Message du 13/10/08 à 17h08
De : Mathieu Malaterre
A : [EMAIL PROTECTED]
Copie à : cmake@cmake.org
Objet
Hi,
I would like to compile a generated file (for example MyFile.myextension) with
the C compiler. The SET(CMAKE_C_SOURCE_FILE_EXTENSIONS myextension) doesn't
seem to work : file is ignored !
Any idea ?
Thanks.
Sebastien
Écoutez gratuitement
Hi,
I am a recent user of CMake. I want to use specific tools between preprocessing
and compilation steps in order to instrument code and get structural coverage :
(C files -- preprocessing -- instrumentation -- coverage -- compilation).
Both steps instrumentation and coverage are done by
Hello,
First, I'm new on this mailing-list and I would like to
thank you for your fantastic product. I have used it for
less a year and I love it.
In one of my projects, I need to run a test from a specific
working directory (to read data files). I made
GET_TARGET_PROPERTY (TARGET_LOCATION
/dsc_hpux_i/svn/lib
-L/home/builder/builds/hpux_i/dsc_hpux_i/build/lib -a archive -lXmHTML
-a default -lgcc
ld: Can't find library or mismatched ABI for -lgcc
On Dec 9, 2007 2:06 PM, Bill Hoffman [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Hi all,
I need desperate help with my CMake
Hi all,
I need desperate help with my CMake and was hoping someone could
render assistance.
I'm running HP-UX 11.31 ia64 and compiled CMake using aCC (HP Native
Compiler). When I attempt to compile my code, I receive the following
error:
[ 26%] Built target XmHTML
make -f
I use aCC.
On Dec 10, 2007 7:51 PM, Hendrik Sattler [EMAIL PROTECTED] wrote:
Am Dienstag 11 Dezember 2007 schrieb [EMAIL PROTECTED]:
Hi all,
I need desperate help with my CMake and was hoping someone could
render assistance.
I'm running HP-UX 11.31 ia64 and compiled CMake using aCC
Hi all,
I need desperate help with my CMake and was hoping someone could
render assistance.
I'm running HP-UX 11.31 ia64 and compiled CMake using aCC (HP Native
Compiler). When I attempt to compile my code, I receive the following
error:
Linking C shared library ../../lib/libxvtxmba580.sl
ld:
Hi,
our project consists of multiple applications built against our own
generic library. Every application and the library is stored in the
same repository. For each application we have individual CMakeLists.txt
and the generic library is checked out via svn:externals.
The project directory
Dear All,
I am a newbie to Qt 4 and I try to use CMake instead of qmake because I
also use ITK. I was not able to get RCC working with CMake though I have
seen in the FindQt4.cmake that it is supported.
I added QT4_ADD_RESOURCES in my CMakeLists.txt but the .qrc file is not
processed by RCC,
16 matches
Mail list logo