hi guys,
i've got a small library (portlib) that does things including sockets
on linux and windows. my problem is that many executables depend on
this library and it seems that for every executable i also have to add
IF(WIN32)
LINK_LIBRARIES(wsock32 ws2_32 portlib)
ENDIF(WIN32)
that is, on
Hello,
I would like to execute the following command
Execute_Process(
COMMAND svn info | grep \Last Changed Rev:\ | cut -d: -f2
OUTPUT_VARIABLE _res)
But concatenation with pipes does not work. Any hint? Best regards,
Federico Carminati
CERN-PH
1211 Geneva 23
Switzerland
Tel: +41 22 76
On Tue, Jul 15, 2008 at 4:17 AM, Hauke Heibel [EMAIL PROTECTED] wrote:
Hi there,
I've stumbled over three little questions which I could not answer from the
FAQs nor the CMake documentation or the Wiki. Maybe one of the specialists
can help me out...
The first question is whether it is
Hello,
I am trying to generate an Xcode project. I have
cmake 2.6
Xcode 3.0
Mac OS X 10.5.4
When I try to open the project with Xcode I have
Project /Users/fca/AliCmake/NewIO/xcode_dir/AliRoot.xcodeproj cannot
be opened because the project file cannot be parsed.
Any hint? Best,
I am trying to use CPack to install a simple windows command line exe
that links to 3 dll's: TeneosCommon.dll, vtkCommon.dll, vtksys.dll, where
Teneos is a 3rd party source that compiles against VTK, ITK, Gdcm and KWWidgets.
Currently, my TeneosCPack.cmake file has
SET(
--- On Tue, 7/15/08, Samuel Crow [EMAIL PROTECTED] wrote:
From: Samuel Crow [EMAIL PROTECTED]
Subject: Re: [CMake] Problems generating Xcode projects
To: Carminati Federico [EMAIL PROTECTED]
Date: Tuesday, July 15, 2008, 1:31 PM
Hello Federico,
I've had the same problems. When it did
Samuel Crow wrote:
--- On Tue, 7/15/08, Samuel Crow [EMAIL PROTECTED] wrote:
From: Samuel Crow [EMAIL PROTECTED]
Subject: Re: [CMake] Problems generating Xcode projects
To: Carminati Federico [EMAIL PROTECTED]
Date: Tuesday, July 15, 2008, 1:31 PM
Hello Federico,
I've had the same problems.
On Tue, Jul 15, 2008 at 3:33 PM, Samuel Crow
I've had the same problems.
I used to have problems with incorrect quoting in connection with
ADD_DEFINITIONS in CMake prior to 2.6. If your CMakeLists.txt files
had been written to work around this issue in 2.4, they might be
broken with 2.6.
I put
Hello,
following my previous posting, I have identified the problem with
Xcode generation. The following CMakeList.txt would generate correct
Unix Makefiles but wrong Xcode project
Project(Test)
Cmake_Minimum_Required(VERSION 2.6)
Set(CMAKE_VERBOSE_MAKEFILE ON)
I want to tune initial compile and linker flags to put into cache.
in main CMakeLists.txt:
# Override default Compiler flags
set(CMAKE_USER_MAKE_RULES_OVERRIDE MyCompilerFlags)
project(MyProject)
in MyCompilerFlags.cmake:
check_cxx_linker_flag(-Wl,--warn-unresolved-symbols
Carminati Federico wrote:
Hello,
following my previous posting, I have identified the problem with
Xcode generation. The following CMakeList.txt would generate correct
Unix Makefiles but wrong Xcode project
Project(Test)
Cmake_Minimum_Required(VERSION 2.6)
Set(CMAKE_VERBOSE_MAKEFILE ON)
Carminati Federico wrote:
Hello Bill,
thanks a lot for your answer. I have few more questions:
1. I am running some custom commands in the makefile. Of course Xcode
does not have hte path. Should I quote them with the full path or can I
indicate a path to xcode via cmake?
I am not sure
Hello Bill,
See below
Federico Carminati
CERN-PH
1211 Geneva 23
Switzerland
Tel: +41 22 76 74959
Fax: +41 22 76 79480
Mobile: +41 76 487 4843
On 15 Jul 2008, at 16:30, Bill Hoffman wrote:
Carminati Federico wrote:
Hello Bill,
thanks a lot for your answer. I have few more questions:
1. I
Hi again,
first of all, thanks for the quick answer.
Actually all of the requests were merely taste related. I admit that
this is not really important but from time to time I am looking at the
libraries and includes I am using and then I like it, if they are
nicely formatted or as short as
I know UWIN probably is NOT supported but hey I'll give it a shot.
This is on WinXP, cmake 2.4.8, Visual Studio 2003.Net.
It seems cmake successfully ran under UWIN generating Unix
Makefiles. I have a simple project (expat actually) that generates a
library (expat) and an executable
Carminati Federico wrote:
As part of my make process I am running a custom program that usually is
in my path in a non-standard directory. When I try building the target
with Xcode, the PATH variable is not affected by my shell settings, and
it default to the standard on my machine. This does
Dear Bill,
this works, however this program loads shared libs supposed to be
in a directory pointed to by DYLD_LIBRARY_PATH, so it fails to load.
Any idea? Best regards,
Federico Carminati
CERN-PH
1211 Geneva 23
Switzerland
Tel: +41 22 76 74959
Fax: +41 22 76 79480
Mobile: +41 76 487 4843
Hello Yuri,
I posted a similar question some time ago. There seems to be no way
to chose the compiler within the CMakeList.txt, because you can do
very little before the Project command, and afterwards it is too late.
Anybody can help here? best, regards,
Federico Carminati
CERN-PH
1211
Carminati Federico wrote:
Dear Bill,
this works, however this program loads shared libs supposed to be in a
directory pointed to by DYLD_LIBRARY_PATH, so it fails to load. Any
idea? Best regards,
Build the program so that it uses built in run-time paths. The only
other option is to run
Carminati Federico wrote:
Hello Yuri,
I posted a similar question some time ago. There seems to be no way to
chose the compiler within the CMakeList.txt, because you can do very
little before the Project command, and afterwards it is too late.
Anybody can help here? best, regards,
That
Carminati Federico wrote:
Any hope to have this changed in a future release?
Best regards,
No, it really is out of the work flow of CMake. First you find the
working compiler and test it. The CMakeLists.txt files should never
force a compiler choice. They should be compiler agnostic as
On Tuesday 15 July 2008 20:01:52 Bill Hoffman wrote:
Carminati Federico wrote:
Hello Yuri,
I posted a similar question some time ago. There seems to be no way to
chose the compiler within the CMakeList.txt, because you can do very
little before the Project command, and afterwards it is
Hi people,
I'm trying to understand a user report which says that load_cache ignores
CMAKE_CXX_COMPILER (and I need it to load it!!)
While playing around with this unfortunate fact, it became apparent that
this particular variable is not read from the cache at all (not even from
the current
On Tuesday 15 July 2008 20:28:27 Yuri Timenkov wrote:
On Tuesday 15 July 2008 20:01:52 Bill Hoffman wrote:
Carminati Federico wrote:
Hello Yuri,
I posted a similar question some time ago. There seems to be no way
to chose the compiler within the CMakeList.txt, because you can do
I am using CMake 2.4.8 on WinXP generating VS2003.Net project files.
During cmake time (using the CMakeSetup.exe program) I will get
errors that basically say that cmake could not remove temporary files
due to permissions. This leads to all sorts of other problems after
cmake is run.
The
-- Detecting CXX compiler ABI info - done
-- Found wxWidgets: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Programming/Build/Test/NIREP
Site: karachi
Build name: Win32-XP-vs8-Debug
Create new tag: 20080715-1754 - Continuous
Start processing tests
Updating
I'm trying to build an rpm of OpenGTL, with no success. I added
'set(CPACK_GENERATOR TGZ;RPM)' and 'include(CPack)' to the
CMakeLists.txt, but when I try to build the RPM, it wants to write to
/usr (ah, shouldn't rpm building NOT need to install first?!), and if I
run it as root, it installs
On 2008-07-15 13:10+0200 Carminati Federico wrote:
Hello,
I would like to execute the following command
Execute_Process(
COMMAND svn info | grep \Last Changed Rev:\ | cut -d: -f2
OUTPUT_VARIABLE _res)
But concatenation with pipes does not work. Any hint? Best regards,
I haven't tried
Alan W. Irwin wrote:
On 2008-07-15 13:10+0200 Carminati Federico wrote:
Hello,
I would like to execute the following command
Execute_Process(
COMMAND svn info | grep \Last Changed Rev:\ | cut -d: -f2
OUTPUT_VARIABLE _res)
But concatenation with pipes does not work. Any hint? Best
2008/7/15 Matthew Woehlke [EMAIL PROTECTED]:
I'm trying to build an rpm of OpenGTL, with no success. I added
'set(CPACK_GENERATOR TGZ;RPM)' and 'include(CPack)' to the CMakeLists.txt,
but when I try to build the RPM, it wants to write to /usr (ah, shouldn't
rpm building NOT need to install
Hello,
I¹m trying to add an extra option to the swig compile line (-package
packagename) while generating java wrappers for my project.
I¹m running into a problem when using:
SET(PACKAGE_NAME test)
SET_SOURCE_FILES_PROPERTIES( ${INTERFACE_FILES} PROPERTIES CPLUSPLUS ON )
SET( CMAKE_SWIG_FLAGS
On 2008-07-15 15:49-0500 Gerrick Bivins wrote:
Hello,
I�m trying to add an extra option to the swig compile line (-package
packagename) while generating java wrappers for my project.
I�m running into a problem when using:
SET(PACKAGE_NAME test)
SET_SOURCE_FILES_PROPERTIES( ${INTERFACE_FILES}
Perfect!
Thanks Alan.
Gerrick
On 7/15/08 4:19 PM, Alan W. Irwin [EMAIL PROTECTED] wrote:
On 2008-07-15 15:49-0500 Gerrick Bivins wrote:
Hello,
I�m trying to add an extra option to the swig compile line (-package
packagename) while generating java wrappers for my project.
I�m running into
2008/7/10 Mathieu Malaterre [EMAIL PROTECTED]:
You are missing the enable_testing() + include(CTest) thingy
Thanks Mathieu, I have got the test and CDash submission working fine.
However, I can't seem to get the ADD_PYTHON_COMPILEALL_TEST call working
It needs a copy of compileall.py to work
Eric Noulard wrote:
2008/7/15 Matthew Woehlke [EMAIL PROTECTED]:
I'm trying to build an rpm of OpenGTL, with no success. I added
'set(CPACK_GENERATOR TGZ;RPM)' and 'include(CPack)' to the CMakeLists.txt,
but when I try to build the RPM, it wants to write to /usr (ah, shouldn't
rpm building NOT
Hi,
I've got a root directory, say /
and there is a CMakeLists.txt in it, that looks like this:
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(GlewMingW)
#SET(CMAKE_VERBOSE_MAKEFILE TRUE)
INCLUDE_DIRECTORIES(include)
ADD_LIBRARY(glew STATIC src/glew.c)
#ADD_EXECUTABLE(visualinfo
Reggie Burnett wrote:
Any plans of a wix generator for cpack?
None that I know of. What is wix?
-Bill
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
# -- Setup output Directories -
SET (LIBRARY_OUTPUT_PATH
${PROJECT_BINARY_DIR}/Bin
CACHE PATH
Single Directory for all Libraries
)
This will effect all targets.
--
Mike Jackson Senior Research Engineer
Innovative Management Technology Services
On Jul
On Tue, Jul 15, 2008 at 11:09 AM, Hauke Heibel [EMAIL PROTECTED] wrote:
And the last question is, if it is possible to tell the FindQt.cmake
script to give me the plain libraries without the full path of them being
prepended (I am talking about the content of the QT_LIBRARIES variable). I
39 matches
Mail list logo