Hello!
I have a little problems.
problem number one
How can I get list of object files in a variable?
that is I write in CMakeLists.txt SET(CMAKE_C_LINK_EXECUTABLE "c:/linkit.bat
")
when linkit.bat
echo "%1" > obj.txt
echo "%2" >> obj.txt
but I am not see list of object files.
if I write MES
include(${CMAKE_CURRENT_SOURCE_DIR}/extrastuff.cmake)
Just guessing but it seems like it should work..
Mike
On Sep 29, 2008, at 6:30 PM, James Bigler wrote:
Is it possible to include a file that is local to a module?
I want to do this:
FIND_PACKAGE(MyPackage)
MyPackage.cmake:
include(ext
Is it possible to include a file that is local to a module?
I want to do this:
FIND_PACKAGE(MyPackage)
MyPackage.cmake:
include(extrastuff.cmake)
...
The problem is that extrastuff.cmake isn't found.
Thanks,
James
___
CMake mailing list
CMake@cmake.
Bill Hoffman wrote:
> Klaus Nowikow wrote:
>> Hi!
>>
>> Is there a way to allocate more space for the names of the tests in the
>> output of 'make test'?
>> [...]
>
> Funny you should ask. CVS CMake has a new option --max-width or -W
> that will do this.
Very well.
I guess I can wait until thi
Klaus Nowikow wrote:
Hi!
Is there a way to allocate more space for the names of the tests in the
output of 'make test'?
I am trying to assign my tests meaningful names containing the name of
the unit being tested as well as the package containing the unit.
But that leads to output like this:
[
How do you create those libraries in your CMakeLists.txt? To build a
shared library, you usually only need to specify "SHARED" when calling
ADD_LIBRARY, e.g.
ADD_LIBRARY(MyProject SHARED ${PROJECT_SOURCES})
If you want to decide whether to build static or dynamic libraries based
on a variable
Hi!
Is there a way to allocate more space for the names of the tests in the
output of 'make test'?
I am trying to assign my tests meaningful names containing the name of
the unit being tested as well as the package containing the unit.
But that leads to output like this:
[...]
7/ 8 Testing u:
Dear Cmake user,
I am still having trouble when trying to generate shared libraries on
visual (7.1 and 8.0).
I am correctly taggin the __declspec(dllexport)/__declspec(dllimport)
when choosing SHARED_LIBRARIES in the cmake configuration process.
But When I open the properties of a given li
Alan W. Irwin wrote:
> On 2008-09-29 16:00+0200 Martin Apel wrote:
>
>> Hi all,
>>
>> I have a library consisting of multiple sources from Fortran and C, e.g.
>> file1.f, file2.f, file3.c.
>> I want to generate this library in two different versions, where in one
>> of those versions the Fortran fi
On 2008-09-29 16:00+0200 Martin Apel wrote:
Hi all,
I have a library consisting of multiple sources from Fortran and C, e.g.
file1.f, file2.f, file3.c.
I want to generate this library in two different versions, where in one
of those versions the Fortran files are compiled with different options
Hello,
I want to link an executable with custom linker script, but my script have
to be preprocessed with cpp. I've tried using add_custom_command and
add_dependencies:
set(MOD_LINKER_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/kernel_mod.ld)
add_custom_command(OUTPUT ${MOD_LINKER_SCRIPT}
cpp -nostdin
Hi all,
I have a library consisting of multiple sources from Fortran and C, e.g.
file1.f, file2.f, file3.c.
I want to generate this library in two different versions, where in one
of those versions the Fortran files are compiled with different options,
in my case with -ipo.
That means:
libv1.a
12 matches
Mail list logo