Hi,
The goal is to have an out-of-source build by default.
The target is a programmer who compiles my package just
to get the libraries needed for another project. He would
have one less option to worry about, especially, if
he wasn't familiar with CMake.
It is not exactly what
Hello all!
I tried using ctect and have some questions.
- I added ENABLE_TESTING() to CMakeLists.txt and ADD_TEST() to
tests/CMakeLists.txt and my test works. But I see autogenerated
files with name DartTestfile.txt in src/ also:
[EMAIL PROTECTED] ~/openfm]$ cat
If there is no such variable, you can still add the flag by yourself within
an IF statement.
IF(CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -Werror)
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
Sylvain
- Original Message -
From: Kedzierski, Artur CIV NAVSURFWARCENDIV
I thought about doing it this way. However, then I thought
that there might be some portable way of doing that which would save me
all the IF/ENDIF's. Sounds like something relatively easy to implement.
Should I add that to CMake's bug tracker?
Anyway, thank You for the code
Alle 14:00, martedì 19 settembre 2006, Kedzierski, Artur CIV NAVSURFWARCENDIV
CORONA ha scritto:
I thought about doing it this way. However, then I thought
that there might be some portable way of doing that which would save me
all the IF/ENDIF's. Sounds like something relatively easy to
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
Some packages provide modules/programs that
provide information where they were installed. For
example, FooLibrary may provide
FooLibrary.m4 for auto-tools,
FooLibrary.pc for pkg-confing,
or
Foo-config for anything else.
As
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
I am sorry to bomb the mailing list with all my questions.
However, CMake is pretty exciting and my group is very likely to
migrate to it.
I found a link that mentions that CPACK can generate an RPM:
So ...
if(cond1)
block of statements
elseif(cond2)
block of statements
elseif(cond3)
block of statements
...
elseif(condn)
block of statements
else(cond1)
block of statements
endif(cond1)
And with LOOSE set
if(cond1)
block of statements
elseif(cond2)
On 2006-09-18 07:34-0400 David Cole wrote:
You guys should add yourselves to the list of projects using CMake on the
CMake Wiki:
http://www.cmake.org/Wiki/CMake_Projects
Thanks for that suggestion Done.
Alan
__
Alan W. Irwin
Astronomical research affiliation
Hi,
I'm experimenting with CMake (2.4 patch 3) and noticed a couple of
peculiar things with template files and the Windows Vcproj files I was
curious about.
I have a collection of libraries all being built in separate directories
with the ADD_LIBRARY() directive. I started off with just
Philip Lowman wrote:
1.) [minor] After adding all of my header files (.h) and template files
(.t) to the ADD_LIBRARY command I noticed that the header files were
being placed in a separate folder called Header Files in the VC
Projects. Cool. Unfortunately, however, the template files were
Hi,
I am working on a fairly large software project that I autotool'd some
time ago. The build system has been working reasonably well. However, I
have hit a possible limitation that I don't know how to solve with
autotools. So I wanted to know if CMake can solve this problem:
I need to
Mike Melanson wrote:
I am working on a fairly large software project that I autotool'd some
time ago. The build system has been working reasonably well. However, I
have hit a possible limitation that I don't know how to solve with
autotools. So I wanted to know if CMake can solve this problem:
Brad King wrote:
This is not really a problem that a build system can solve directly.
The native build tools need to be configured to support it. In order to
link statically to the C++ runtime but dynamically to the C runtime and
other libraries you need to configure the host system properly.
Mike Melanson wrote:
Brad King wrote:
This is not really a problem that a build system can solve directly.
The native build tools need to be configured to support it. In order to
link statically to the C++ runtime but dynamically to the C runtime and
other libraries you need to configure the
Brad King wrote:
You can link the entire program statically if you don't have any of your
own shared libraries. Then running ldd myexe will produce a message
that the executable is not dynamically linked. This requires just
adding -static to CMAKE_EXE_LINKER_FLAGS (or the appropriate option
Mike Melanson wrote:
Brad King wrote:
You can link the entire program statically if you don't have any of your
own shared libraries. Then running ldd myexe will produce a message
that the executable is not dynamically linked. This requires just
adding -static to CMAKE_EXE_LINKER_FLAGS (or
I have a build similar to VTK/Examples/Build/vtkMy
and I have added ctest funtionality to test my custom
VTK classes. In a test driver that evaluates numeric
expressions, e.g. a stupid ex.:
in myTest(int,char*[])
{
int a =1;
int b = 2;
int retVal = 0;
if((a + b) != 500)
{
--- Brad King 2006-09-19 10:17:27 -0400
+++ Slava Semushin 2006-09-20 11:47:40 +0700
BK In CMake 2.4 CPack is still in beta.
Really beta... =(
[EMAIL PROTECTED] ~]$ cpack
CPack Error: CPack generator not specified
terminate called after throwing an instance of
19 matches
Mail list logo