Hello all,
I would like to use the ExternalProject_Add command in one CMake project
to include another CMake based project. Basically this works great, the
project is downloaded, configured, build, tested and installed. (Great
command, the ExternalProject!)
The libraries of the included
Hello,
I experience a problem with include directories with response files
when upgrading from CMake 2.8.4 to CMake 2.8.5. The problem is probably
that gcc does not handle the response files correctly. Is it possible to
disable the response files with an option in CMake ?
I have a small
On 8/12/2011 3:17 PM, David Cole wrote:
Sounds like you're using MSYS Makefiles but then running make from a
non-MSYS shell.
I have tried the following msys shells.
sh.exe
rxvt.exe
mintty.exe
For all these shells the include directories with response files do not
work. If I paste the content
Hi,
could you post the working example? I'm doing something similar but I'm
doing it wrong, the add_custom_command is always being build in my case.
Thanks in advance,
Peter.
On 6/28/07, Alexandru Ciobanu [EMAIL PROTECTED] wrote:
Thanks Alan, it works.
=)
Alan W. Irwin wrote:
On
Please update from cvs.
It seems stripping static libs is a bad idea (since it removes their
symbol
table) and stripping import libs doesn't make sense (since they don't have
debug information), so both are now excluded from stripping.
Please correct me if I'm wrong.
Let me know if stripping
/*
_CPack_Packages/win32/ZIP/HELLO-0.1.1-win32/lib/libhelloDemo.dll.a': No such
file
CPack: Compress package
CPack: Finalize package
CPack: Package C:/temp/CMakeExample/build/HELLO-0.1.1-win32.zip generated.
On 6/14/07, Alexander Neundorf [EMAIL PROTECTED] wrote:
On Thursday 14 June 2007 16:36, Peter
We'll do something about it.
How about adding options to the install() command like STRIP_ALWAYS and
STRIP_NEVER ?
Do you mean something like this:
INSTALL(TARGETS helloworld
RUNTIME DESTINATION bin STRIP_ALWAYS
LIBRARY DESTINATION lib STRIP_NEVER
INSTALL(TARGETS helloworld
RUNTIME DESTINATION bin STRIP_ALWAYS
LIBRARY DESTINATION lib STRIP_NEVER
ARCHIVE DESTINATION lib STRIP_NEVER
)
In my case that would work very well.
I guess you would do it this way for all
has changed ?
Cheers,
Peter.
On 6/14/07, Alexander Neundorf [EMAIL PROTECTED] wrote:
On Tuesday 15 May 2007 04:50, Peter Visser wrote:
Thanks for the suggestion but still no 'sutable' ZIP program found.
I have associated 7-Zip with .zip files (and all other possible
extensions
.tar .gz .rar
in the package target):
...strip.ex 'dll.a' : No such file
Regards,
Peter.
On 6/14/07, Alexander Neundorf [EMAIL PROTECTED] wrote:
On Thursday 14 June 2007 16:11, Peter Visser wrote:
I just tried the current cvs HEAD, 7zip now works fine in my case.
Thanks for the effort!
However, the current
Thanks for the suggestion but still no 'sutable' ZIP program found.
I have associated 7-Zip with .zip files (and all other possible extensions
.tar .gz .rar and so on.) and added 7-Zip to the system path. But
unfortunately CPack was not able to use 7-Zip yet.
I used my *old* system again and
Hi,
I'm using the plugin without problems under windows XP with Eclipse 3.3M7 /
CDT4.0RC0.
Great work!
Peter.
On 5/12/07, Maik Beckmann [EMAIL PROTECTED] wrote:
Am Samstag, 12. Mai 2007 13:00:43 schrieb Trevor Kellaway:
Good news, but alas it doesn't seem to work for me (using Eclipse
;-)
As a temporary solution I will 'regexp' the paths in the build output.
Thanks for your response,
Peter.
On 5/9/07, Brandon Van Every [EMAIL PROTECTED] wrote:
On 5/8/07, Peter Visser [EMAIL PROTECTED] wrote:
Hello,
I'm using eclipse with mingw/msys. Eclipse scans the build output for
auto
Hello,
I'm using eclipse with mingw/msys. Eclipse scans the build output for auto
discovery of include paths and defines, which is very useful for auto
completion. I upgraded from CMake 2.4.3 to CMake 2.4.6 and this breaks the
auto discovery from eclipse. The reason for this is that CMake 2.4.3
Great!
A while ago I tried to cross-compile code for win32 with mingw from linux
and ran into the same problem with the library PREFIX and SUFFIX. Setting
the PREFIX and SUFFIX globally works great, cross-compiling now works good
for my project (and much faster than the native compile with mingw
Hi,
What I found useful when using eclipse is adding 'VERBOSE=1' to make.
Eclipse scans the output of the build process (enabled by default -
'discovery options' - 'enable build output scanner info discovery') on
INCLUDE/LIBRARY directories and uses this for the code completion
functionality.
Hi,
Instead of trying to call wx-config directly, you can (should) use
FIND_PACKAGE(wxWidgets), this will call the wx-config shell script and set
the necessary/required variables.
for example the wx_minimal sample:
###
PROJECT(wx_minimal)
FIND_PACKAGE(wxWidgets)
IF(wxWidgets_FOUND)
Hi,
I would like to execute a command exactly one time during each build for
any, some or all targets, it this possible in an easy way?
I fiddled with the ADD_CUSTOM_TARGET and ADD_CUSTOM_COMMAND commands but was
unable to do so.
For instance when I used ADD_CUSTOM_TARGET(dummy ALL echo FOO),
Hi,
I'm using FindwxWidgets, currently it seems that it is not possible to
specify options like version, debug static and so on. At least not for
non-WIN32 (The documentation describes to specify arguments to nmake at
build time.).
Perhaps it is an idea to pass options to wx-config. This could
Hi,
I now have a working example to cross compile the CMake example (
http://www.cmake.org/HTML/Examples.html) with MINGW under linux for windows.
Unfortunately it requires a small replace in a build.make file, I wasn't
able to figure it out completely in CMake.
To get the example working I
Hi,
I have a working build under win32 with MSYS/MINGW, now I would like to
cross-compile code for win32 with mingw from linux with by using the same
CMakelists.txt files. It almost works, the problem is that the shared
libraries are not named myex.dll but libmyex.so. By using the following
places:
SET_TARGET_PROPERTIES(ex1
PROPERTIES
PREFIX $(MY_TARGETLIB_PREFIX)
SUFFIX $(MY_TARGETLIB_SUFFIX)
)
2006/11/16, Peter Visser [EMAIL PROTECTED]:
Hi,
I have a working build under win32 with MSYS/MINGW, now I would like to
cross-compile
PROTECTED] wrote:
On 2006-10-21 12:39+0200 Peter Visser wrote: Hello, The following example works fine: In the top CMakeLists.txt ADD_SUBDIRECTORY (Example1) ADD_SUBDIRECTORY (Example2)
In the subdirectories Example1/Example2 INSTALL(TARGETS Example1/Example2 RUNTIME DESTINATION bin LIBRARY
Thanks for the advice, but I cannot find these directives in the documentation (http://www.cmake.org/HTML/Documentation.html).Perhaps I'm looking in the wrong place, where do I need to look for the documentation?
Thanks again, Peter.On 10/21/06, Filipe Sousa [EMAIL PROTECTED] wrote:
Peter Visser
It works! I will avoid using the [binary dir] option from now.Thanks for the reference to CMake_Useful_Variables. I did search the wiki, but using an underscore in the search string doesn't work.Cheers,
Peter.On 10/21/06, Filipe Sousa [EMAIL PROTECTED] wrote:
Filipe Sousa wrote: Peter Visser wrote
Hello,I would like to use CPack to make an install package with NSIS for win32.I downloaded the hello example (http://www.cmake.org/HTML/Examples.html) added INCLUDE(CPack)
to the CMakeLists.txt (http://www.cmake.org/Wiki/CMake:Packaging_With_CPack) and tried to run make packageHowever an error
, Peter Visser
[EMAIL PROTECTED] wrote: Hello, I would like to use CPack to make an install package with NSIS for win32. I downloaded the hello example
(http://www.cmake.org/HTML/Examples.html) added INCLUDE(CPack) to the CMakeLists.txt (
http://www.cmake.org/Wiki/CMake:Packaging_With_CPack) and tried
I just discovered cmake, I find cmake easy to setup and it works fantastic. However, a small problem occurs. I'm using: cmake 2.4-patch3 under MSYS-1.0.10. The problem occurs when using EXEC_PROGRAM() or EXECUTE_PROCESS().
Instead of sh.exe from MSYS being used to execute the program cmd.exe from
28 matches
Mail list logo