Re: [CMake] COMPARE_VERSION_STRINGS

2007-09-25 Thread Gonzalo Garramuño
comment, I think it is often desirable with some libraries to disregard the micro version on == comparisons, so that: 1.32.1-9 == 1.32 as usually their api does not change. Currently your macro always will return inequality for that. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400

[CMake] Suppressing -rdynamic

2007-10-06 Thread Gonzalo Garramuño
functions. This makes the functions easily available by using objdump -T or nm -D, even if the executable has been stripped. Is there a way to suppress the use of this switch? -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy

Re: [CMake] Suppressing -rdynamic

2007-10-06 Thread Gonzalo Garramuño
. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Suppressing -rdynamic

2007-10-06 Thread Gonzalo Garramuño
Filip Brcic wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Дана субота 06 октобар 2007, Gonzalo Garramuño је написао(ла): Therefore, you have to override CMAKE_SHARED_LIBRARY_LINK_C_FLAGS and set it to blank. Something like: SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS

[CMake] Getting symlink source

2007-10-06 Thread Gonzalo Garramuño
or I misunderstood the docs. Is there another way to obtain the real path that the symlink points to? -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org

[CMake] Find out if a target exists?

2007-10-11 Thread Gonzalo Garramuño
I was wondering what's the best way to determine if a target exists. I wanted to modify a target's properties but depending on the type of build, it may not always exist. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy

[CMake] Windows make VERBOSE=1?

2007-10-18 Thread Gonzalo Garramuño
a printing of that tmp file first. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CMake 2.5 - MinGW fails with NMake Mafiles

2007-10-19 Thread Gonzalo Garramuño
[EMAIL PROTECTED] wrote: On Friday 19 October 2007 13:11, David Cole wrote: Do not pass -DCMAKE_SYSTEM=Windows-5.1 on the command line. CMake expects to compute that value itself... On 10/19/07, Gonzalo Garramuño [EMAIL PROTECTED] wrote: MinGW CMake also says it supports NMake Makefiles

Re: [CMake] CMake2.5 - wrong default install location for mingw

2007-10-19 Thread Gonzalo Garramuño
evolved to be a superior solution for me (and I don't need X11 gui tools on windows which mingw will probably never provide, which is how I interpret mingw's charter). -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy

Re: [CMake] CMake2.5 - wrong default install location for mingw

2007-10-19 Thread Gonzalo Garramuño
\usr\local\bin). If addition, you probably still want to have an environment variable or CMAKE variable to specify the root of msys in case cmake 'guesses' incorrectly. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy

Re: [CMake] CMake2.5 - wrong default install location for mingw

2007-10-19 Thread Gonzalo Garramuño
if CMake did make a distinction about itself. I really do not like the idea of MinGW by default overwriting my (then stable) MSVC version. I just lost half a day trying to restore to a stable build. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy

[CMake] CMake 2.5 - MinGW fails with NMake Mafiles

2007-10-18 Thread Gonzalo Garramuño
is attached. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy # This is the CMakeCache file. # For build in directory: z:/code/Maya/mrLiquid/BUILD/Windows-5.1-32/Release/tmp # It was generated by CMake: C:/Archivos de programa/CMake/bin/cmake.exe # You can

[CMake] CMake2.5 - wrong default install location for mingw

2007-10-18 Thread Gonzalo Garramuño
Compiling CMake HEAD with mingw. After install, it defaulted to installing in $PROGRAMFILES/CMake, instead of /usr/local/ (ie. C:/msys/1.0/usr/local) incorrectly overwriting my MSVC version. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy

[CMake] CMAKE 2.5 MinGW returns bad WIN32

2007-10-18 Thread Gonzalo Garramuño
. It is unclear whether to me whether this is correct behavior. It seems like it shouldn't be being that CYGWIN returns true. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http

Re: [CMake] make file for win32 MDI application

2007-10-18 Thread Gonzalo Garramuño
errors. Is there any way to omit them? In principle they shouldn't as that's the standard stuff used by windows itself when you create a gui project. If you do want to omit them, change the value of CMAKE_C_STANDARD_LIBRARIES_INIT (see Modules/Platform/Windows-cl.cmake ) -- Gonzalo Garramuño

Re: [CMake] CMake2.5 - wrong default install location for mingw

2007-10-20 Thread Gonzalo Garramuño
form. MSYS and CYGWIN *MUST* translate PATH to a windows equivalent or else child programs would not work correctly. Other vars, like LD_LIBRARY_PATH don't get this special treatment. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy

Re: [CMake] CMake2.5 - wrong default install location for mingw

2007-10-20 Thread Gonzalo Garramuño
or many of the other Windows specific generators. MSYS Makefile should install on /usr/local. I already showed how you can relatively safely figure out where /usr/local is as a win32 path. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy

Re: [CMake] CMake2.5 - wrong default install location for mingw

2007-10-20 Thread Gonzalo Garramuño
library, have you considered just parsing /etc/fstab now that you know where it is as far as windows is concerned? The big benefit of that is you maintain a single windows cmake that can generate all types of makefiles. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT

Re: [CMake] CMake2.5 - wrong default install location for mingw

2007-10-21 Thread Gonzalo Garramuño
this .cmake patch and I'll give you a C++ patch of it instead, as the code is much cleaner that way. And to be honest, I find the C++ code to be much more readable than the .cmake code (which is somewhat disturbing). -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy

Re: [CMake] CMake2.5 - wrong default install location for mingw

2007-10-23 Thread Gonzalo Garramuño
kind of seemed the more logical one. P.S. To be honest, I thought that just changing a default install locations was going to be a very simple request. I cannot believe I've now spent 5 or 6 emails defending this position. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E

Re: [CMake] CMakeSetup requires elevation on Vista

2007-10-25 Thread Gonzalo Garramuño
$1500 upgrade on people ? :) I don't see anyone else other than www.cmake.org distributing cmake binaries, so there's not likely going to ever be a proliferation of windows .exe's. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy

Re: [CMake] MinGW broken on Vista

2007-10-25 Thread Gonzalo Garramuño
Brandon Van Every wrote: If you try to run CMakeSetup with MinGW on Windows Vista, and you get a screenful of errors including a line: For vista you *probably* want a 64-bits mingw, not the 32-bits one. Or a cross-compiler that runs on linux. Google is your friend. -- Gonzalo Garramuño

[CMake] Re: [Swig-devel] Ruby test-suite

2007-10-26 Thread Gonzalo Garramuño
const_iterators. I believe only the Key element in a set is to be defined const, not the iterators. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman

Re: [CMake] Re: [Swig-devel] Ruby test-suite

2007-10-26 Thread Gonzalo Garramuño
apologize for the mail -- wrong mailing list. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Make clean - doesn't clean dependencies.

2007-11-01 Thread Gonzalo Garramuño
Josef Karthauser wrote: It doesn’t appear that a ‘make clean’ in a subdirectory of the build tree cleans any of the dependencies. Does anyone know of a way that it can be persuaded to? make depend For more info, cmake creates: make help -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400

Re: [CMake] improve the CMake language?

2007-11-02 Thread Gonzalo Garramuño
is also probably overkill. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] improve the CMake language?

2007-11-05 Thread Gonzalo Garramuño
uglyness is its OO support and syntax, which is closer to OO Javascript or Perl's. -- P.S. Disclosure: I am swig's ruby maintainer. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake

Re: [CMake] improve the CMake language?

2007-11-05 Thread Gonzalo Garramuño
credit) or public domain. For proper info, refer to LEGAL in the ruby distribution. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] improve the CMake language?

2007-11-07 Thread Gonzalo Garramuño
/benchmark.php?test=alllang=yarvlang2=python -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] improve the CMake language?

2007-11-07 Thread Gonzalo Garramuño
Technologies. gcis Public Domain (Boehmm), albeit now is so heavily modified there's no resemblance to it any longer (probably the docs need updating). stis Public Domain. Other files may use Perl's Artistic License. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E

Re: [CMake] improve the CMake language?

2007-11-08 Thread Gonzalo Garramuño
by your make program, not cmake. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] INSTALL TARGETS modifies files on some platforms.

2007-11-12 Thread Gonzalo Garramuño
smaller. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] gettext support and qtlinguist

2007-11-12 Thread Gonzalo Garramuño
Leopold Palomo-Avellaneda wrote: Hi, someone knows if there's some module to support the gettext functions and pot generation? cmake2.5 (SVN) has a FindGettext.cmake. You can use the module with 2.4.7, too. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT

Re: [CMake] gettext support and qtlinguist

2007-11-12 Thread Gonzalo Garramuño
) -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] No FileIsSymlink(...) for Win32?

2007-11-14 Thread Gonzalo Garramuño
file is just a text file). -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] No FileIsSymlink(...) for Win32?

2007-11-14 Thread Gonzalo Garramuño
on the network that are not vista, etc. So, in summary, no. I stand by my statement. No Microsoft OS to this day supports symbolic links. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake

Re: [CMake] Default search paths for FIND_PATH

2007-11-19 Thread Gonzalo Garramuño
. It is often a problematic variable for build systems (and installers) due to the built-in space(s) in its path, albeit cmake should be able to work around that issue. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy

Re: [CMake] Add search paths for FIND_PACKAGE ?

2007-11-19 Thread Gonzalo Garramuño
/Platform/WindowsPaths.cmake in the cmake install. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] $ENV{HOSTNAME}

2007-11-21 Thread Gonzalo Garramuño
. sh), which does not set that variable by default. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Changing compiler at runtime

2007-11-24 Thread Gonzalo Garramuño
of the compiler. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CMake with Lua Experiment

2007-11-26 Thread Gonzalo Garramuño
some time. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] cmake, lex yacc

2007-12-06 Thread Gonzalo Garramuño
${CMAKE_CURRENT_BINARY_DIR}/lex.yy.c OUTPUTS ${CMAKE_CURRENT_BINARY_DIR}/grammar.tab.cpp ) -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] cmake, lex yacc

2007-12-06 Thread Gonzalo Garramuño
Gonzalo Garramuño wrote: Timur Ivanov wrote: Hello! Sorry if it was discussed already but I can't find anything really useful for me. In current project I use lex yacc and Makefile rules looks like: cmake currently does not ship with bison and flex modules, unfortunately. Here's

[CMake] Including of Platform/UnixPaths.cmake now broken

2007-12-10 Thread Gonzalo Garramuño
(the current one in CVS does not). or b) A fix to this broken behavior. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo

Re: [CMake] Waf build tool

2007-12-16 Thread Gonzalo Garramuño
did not even bother checking the speed. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Waf build tool

2007-12-16 Thread Gonzalo Garramuño
) # calls A::f d) ...other... I consider a) to c) the cornerstone of OO. b and c cannot be done in cmake. a) can (only partially) be done and with an uglier syntax. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy

Re: [CMake] premake build system

2007-12-17 Thread Gonzalo Garramuño
help). I really like it much better than the scons derivatives, but the lack of proper dependency checking is a killer. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake mailing list CMake@cmake.org http

Re: [CMake] premake build system

2007-12-17 Thread Gonzalo Garramuño
Brandon Van Every wrote: On Dec 17, 2007 5:46 AM, Gonzalo Garramuño [EMAIL PROTECTED] wrote: premake3/4 is tiny and its syntax is *really* nice. ... Show me a tool that does something CMake *can't* do, or does badly. ... Well, in the quote that you did not keep, I posted that premake

Re: [CMake] Re: premake build system

2007-12-17 Thread Gonzalo Garramuño
is good (and a good OO framework should be better than what cmake does with FIND_PACKAGE). Things that would also earn tons of brownie points would be: * smaller than cmake (both to compile and distribute). * good for cross-compilation. -- Gonzalo Garramuño [EMAIL PROTECTED

Re: [CMake] Re: premake build system

2007-12-17 Thread Gonzalo Garramuño
Bill Hoffman wrote: Gonzalo Garramuño wrote: * good for cross-compilation. CVS CMake (and the coming 2.6 CMake) have extensive support for cross compilation. http://www.cmake.org/Wiki/CMake_Cross_Compiling I'm still having a lot of problems with it. Even cross-compiling on a 64

Re: [CMake] Re: premake build system

2007-12-17 Thread Gonzalo Garramuño
, imagine if you were using a common language like Ruby which is 125 person year project at a cost of 6 million. You'd have had 4 million to spare and 50+ additional year/developers to begin with even before you wrote your first cmake line! -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400

Re: [Spam] Re: [CMake] Re: premake build system

2007-12-17 Thread Gonzalo Garramuño
Alexander Neundorf wrote: On Monday 17 December 2007, Gonzalo Garramuño wrote: Bill Hoffman wrote: Gonzalo Garramuño wrote: * good for cross-compilation. CVS CMake (and the coming 2.6 CMake) have extensive support for cross compilation. http://www.cmake.org/Wiki/CMake_Cross_Compiling

Re: [Spam] Re: [CMake] Re: premake build system

2007-12-17 Thread Gonzalo Garramuño
David C Thompson wrote: Gonzalo Garramuño wrote: Alexander Neundorf wrote: On Monday 17 December 2007, Gonzalo Garramuño wrote: Bill Hoffman wrote: Gonzalo Garramuño wrote: * good for cross-compilation. CVS CMake (and the coming 2.6 CMake) have extensive support for cross compilation

Re: [CMake] Re: premake build system

2007-12-17 Thread Gonzalo Garramuño
UnixPaths.cmake without calling my FindBuildDir, which is a bug in how cmake deals with variables. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy #-*-cmake-*- # # This simple CMake extension makes sure that builds get # created inside a BUILD/os-osversion-arch

Re: [CMake] Re: Parsing cmake command line parameters

2007-12-18 Thread Gonzalo Garramuño
? The premake.lua is ALWAYS read. If no parameter is passed, there's a dry run of the file, and help with options get spit. It is gorgeous. Sure, lua runs 10 times faster than the cmake language does, but that's a different story. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E

Re: [CMake] mingw32 linker line exceeds win32 limitations

2008-01-03 Thread Gonzalo Garramuño
or an executable target? Is this the same as it is used with the NMake Generator? If so, please don't make this the default. It makes it impossible to see what the link line is when make VERBOSE=1. Or just have it turn on only when the line actually does exceed the limits. -- Gonzalo

Re: [Spam] Re: [CMake] Re: Migration to subversion

2008-01-04 Thread Gonzalo Garramuño
, if you are like me, you'll realize that you've been doing source version control wrong all these years *sigh*. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake mailing list CMake@cmake.org http://www.cmake.org

Re: [CMake] Re: Migration to subversion

2008-01-04 Thread Gonzalo Garramuño
James Mansion wrote: Gonzalo Garramuño wrote: In summary, once you use git, if you are like me, you'll realize that you've been doing source version control wrong all these years *sigh*. Does git work on Win32? Yes, but not as well as on Linux. There's two ports of it. The cygwin port

[CMake] add_custom_command as target

2008-01-17 Thread Gonzalo Garramuño
as a target (without needlessly being added to add_executable, etc). Basically, I'm trying to have a macro that compiles NVidia's .cg files to profile shaders and as such the shaders are targets that depend on the cg files. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E

Re: [CMake] add_custom_command as target

2008-01-17 Thread Gonzalo Garramuño
a custom command. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Re: Changing MD - MT (+patch for free toolkit)

2008-02-18 Thread Gonzalo Garramuño
. That can (and will) spell disaster for anyone else trying to use your library/functions or even for yourself if you go through pointers or references. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake

Re: [CMake] Changing MD - MT

2008-02-18 Thread Gonzalo Garramuño
and executables. It is a crappy Microsoft issue, not a cmake one. It is properly described in the page you linked to. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake mailing list CMake@cmake.org http

Re: [CMake] Re: Changing MD - MT (+patch for free toolkit)

2008-02-19 Thread Gonzalo Garramuño
Mathieu Malaterre wrote: On Feb 19, 2008 5:43 AM, Gonzalo Garramuño [EMAIL PROTECTED] wrote: Mathieu Malaterre wrote: Ok this was yet-another-weird-dll thingy, one cannot do: class GDCM_EXPORT String : std::string { ... } Please, learn a little bit more about C++. Oh thank you ! I'll take

Re: [CMake] Re: Raven, Antwrap, Buildr

2008-03-03 Thread Gonzalo Garramuño
only, so it is extremely bare-bones. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] EXECUTABLE_OUTPUT_PATH vs CMAKE_RUNTIME_OUTPUT_DIRECTORY

2008-03-04 Thread Gonzalo Garramuño
that depends on those variables. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] [Spam] Re: EXECUTABLE_OUTPUT_PATH vs CMAKE_RUNTIME_OUTPUT_DIRECTORY

2008-03-04 Thread Gonzalo Garramuño
Andreas Pakulat wrote: On 04.03.08 10:51:10, Gonzalo Garramuño wrote: Alexander Neundorf wrote: Brad just documented this a few days ago: http://www.cmake.org/pipermail/cmake-commits/2008-February/00.html This is a pretty horrible and drastic change with no heads up. Why

Re: [CMake] cmake community site

2008-03-04 Thread Gonzalo Garramuño
Mike Jackson wrote: Also, what happens when you stop being a student with lots of time to keep the site going? That's easy. If he did a good job, he gets hired by Kitware :) -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy

Re: [CMake] [Spam] Brandon Van Every

2008-03-04 Thread Gonzalo Garramuño
). -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Xubuntu Gutsy ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] NSIS startup menu and icons

2015-01-10 Thread Gonzalo Garramuño
I have created an NSIS section for my CMakeLists.txt and I am trying to pack and install my application (mrViewer). The package builds correctly and runs just fine, but the mrViewer icon is missing in desktop and in the menu entry and the startup menu has a mrViewer entry that leads nowhere

[CMake] NSIS builder creating invalid exe

2015-01-09 Thread Gonzalo Garramuño
I updated my CMakeLists.txt to create an NSIS installer under a Nmake Makefile. The packaging works without errors when run with 'nmake package'. However, the resulting exe file when run, returns: Bad file number. The problem happens on both builds for win32 and win64. The NSIS installer is

Re: [CMake] Creating an installer using cpack

2015-01-09 Thread Gonzalo Garramuño
On 09/01/2015 05:55 p.m., J Decker wrote: the symlinks already exist in the source directory (it sounds like) the problem is they're not being packaged/extracted right... Correct. I changed my symlink script with one that copies the libraries and all problems are gone. Now I am tackling

[CMake] ninja under windows

2015-08-03 Thread Gonzalo Garramuño
I compiled Ninja on cygwin from git. That now works fine it seems. I am trying to compile for msvc. However, when cmake runs, I get: [1/123] Building CXX object 'libACESclip\CMakeFiles\ACESclip.dir\src\ACESclipWriter.cpp.obj'ninja: fatal: unknown deps type 'msvc' $ ninja --version

[CMake] Off-topic? Winmm linking/running problems

2016-06-08 Thread Gonzalo Garramuño
I have a multiplatform viewer and recently I started to experience some very weird behavior. I am using the latest cmake 3.5.3 rc1 and the latest released ninja (1.7), albeit the problem appears with NMake Makefiles too. The viewer links against winmm.dll, the windows multimedia library for

[CMake] CMake v3.6.0 rc1

2016-06-08 Thread Gonzalo Garramuño
I tried v3.6.0 rc1 but it fails on linking with a message about unknown symbols when doing cmake -E vs_link_dll on a windows library. It seems not to recognize the symbols in, for example, tinyxml2. The same code works just fine under cmake v3.5.2. -- Powered by www.kitware.com Please keep

Re: [CMake] Off-topic? Winmm linking/running problems

2016-06-08 Thread Gonzalo Garramuño
On 08/06/2016 12:11 p.m., Gonzalo Garramuño wrote: I have a multiplatform viewer and recently I started to experience some very weird behavior. Found the problem being the volume control not being 32bits. Sorry for the noise. -- Powered by www.kitware.com Please keep messages on-topic

[CMake] CPACK_NSIS_EXTRA_INSTALL_COMMANDS before install

2016-05-28 Thread Gonzalo Garramuño
Hi, I am using CPACK_NSIS_EXTRA_INSTALL_COMMANDS to create a new page where the user can select file associations (using the full syntax of NSIS). My problem is that the page gets shown after the install is done. I would like to have a variable which puts the NSIS commands before the

Re: [CMake] How to run an install command as administrator?

2016-05-28 Thread Gonzalo Garramuño
On 26/05/2016 01:16 p.m., Juan Dent wrote: Hi, I have a simple CMakeLists.txt that tries to install at a place in the drive that requires administrator privileges. How can I make that install command to run as administrator, is there a way in CMake? If you are on Linux or Mac, it is easy.

Re: [CMake] Internal error bug in v3.4.2.

2016-01-21 Thread Gonzalo Garramuño
On 21/01/2016 03:47 p.m., Brad King wrote: On 01/21/2016 11:00 AM, Gonzalo wrote: Find attached the mrViewer/src/CMakeList.txt file that still fails. Thanks. From that I was able to reproduce it in a small test case with CMake 3.4. It appears that the problem has been fixed since then in

Re: [CMake] [ANNOUNCE] CMake 3.4.3 available for download

2016-01-25 Thread Gonzalo Garramuño
On 25/01/2016 04:36 p.m., Robert Maynard wrote: We are pleased to announce that CMake 3.4.3 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Brad, Does this one have the fix for the FLTK_WRAP_UI? -- Powered by

[CMake] Forcing linking compatability to old libc / libstdc++ (Linux)

2017-01-26 Thread Gonzalo Garramuño
to compile my program targeting the older libc and libstdc++. Those files come with symbol version and visibility. Is there an easy way to do that other than copying the old libraries? Any help or hint is appreciated. -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages

Re: [CMake] Forcing linking compatability to old libc / libstdc++ (Linux)

2017-01-26 Thread Gonzalo Garramuño
.6: version `GLIBC_2.18' not found (required by /usr/local/mrViewer/lib/libstdc++.so.6 ) -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake

Re: [CMake] install() rename with version string

2017-01-19 Thread Gonzalo Garramuño
USES_TERMINAL ) -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http

[CMake] Custom command on cpack target

2017-01-10 Thread Gonzalo Garramuño
I would like to run a custom command on the zip file generated by cpack. The idea is that I want to calculate its sha256 checksum. Unfortunately it seems the zip file cannot be a target in a CMakeLists.txt file or I'm doing something wrong. Can someone give me a hand? -- Gonzalo

[CMake] Chocolatey? (Windows)

2017-01-10 Thread Gonzalo Garramuño
I was wondering if anyone was familiar with Chocolatey and whether there are plans to add support for it in cmake/cpack. For those that don't know, Chocolatey is a small Windows' utility similar to Debian's apt-get. It allows simple management of packages (binaries mainly). -- Powered by

Re: [CMake] Custom command on cpack target

2017-01-14 Thread Gonzalo Garramuño
El 10/01/17 a las 17:34, Gonzalo Garramuño escribió: I would like to run a custom command on the zip file generated by cpack. The idea is that I want to calculate its sha256 checksum. Unfortunately it seems the zip file cannot be a target in a CMakeLists.txt file or I'm doing something

[CMake] Desktop icon not safe (missing +x ) on cmake deb file

2017-03-19 Thread Gonzalo Garramuño
permissions like: -rwxrwxrwx 1 gga root 1,2K mar 14 09:36 mrViewer-v3.5.4.desktop So it should be executable and it should get installed with same permissions. However, this does not work. I am at a loss on what to try. Any help is appreciated. -- Gonzalo Garramuño -- Powered

Re: [CMake] Desktop icon not safe (missing +x ) on cmake deb file

2017-03-19 Thread Gonzalo Garramuño
El 19/03/2017 a las 15:13, Gonzalo Garramuño escribió: Hi, I had a program which I compile with cmake. This program was on an NTFS partition with permissions: defaults. This meant all files were owned by root with 777 permissions. This worked fine but it was not secure and created

Re: [CMake] .so link and cpack

2017-04-09 Thread Gonzalo Garramuño
El 09/04/17 a las 07:13, Eric Noulard escribió: Hi Gonzalo, You should be able to build Deb package including symlink without trouble. Could you give the exact sequence of dpkg command which leads to the error you are speaking of? $ dpkg -i mrViewer-v3.5.8-Linux-64.deb (Leyendo la base

[CMake] .so link and cpack

2017-04-08 Thread Gonzalo Garramuño
Currently, I have a project where I build a library and an executable that depends on the library. Finally, I package a .deb package with cpack. Now, my problem is that cpack packs the symbolic link of my library and that creates problems with the deb installer ( dpkg -i ) whenever I try to

Re: [CMake] Help on first cmake project

2017-07-07 Thread Gonzalo Garramuño
then do: $ cd .. $ rm -rf build-linux64 Thanks for helping a beginner! Florian No problem. -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake

[CMake] Boost moves to CMake

2017-07-18 Thread Gonzalo Garramuño
Just posted in the boost mailing list. Congratulations to both teams! -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more

Re: [CMake] CPack: Create debian packge for each sub-project

2017-07-23 Thread Gonzalo Garramuño
t is not possible. I would also like to know this for separate packager generators. How to call "make package" on just one package generator (like build just DEB and not RPM). -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

Re: [CMake] VC2015 and Windows 7 compatibility

2017-09-20 Thread Gonzalo Garramuño
El 20/09/2017 a las 04:44, Elvis Stansvik escribió: 2017-09-20 7:53 GMT+02:00 Elvis Stansvik <elvis.stans...@orexplore.com>: 2017-09-19 23:22 GMT+02:00 Gonzalo Garramuño <ggarr...@gmail.com>: El 19/09/2017 a las 15:19, J Decker escribió: you can just install the runtime redi

Re: [CMake] /W1 and resource.rc files

2018-05-14 Thread Gonzalo Garramuño
El 13/05/2018 a las 21:24, Gonzalo Garramuño escribió: I am running into trouble specifying the /W1 flag in add_definitions. This was my problem.  I should have been using add_compile_options. -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages on-topic and check

[CMake] /W1 and resource.rc files

2018-05-13 Thread Gonzalo Garramuño
of: cl : Command line warning D9025 : overriding '/W3' with '/W1' I am unsure what sets /W3. -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake

[CMake] /W1 and resource.rc files

2018-05-13 Thread Gonzalo Garramuño
of: cl : Command line warning D9025 : overriding '/W3' with '/W1' I am unsure what sets /W3. Does anyone have a suggestion on how to work around the above, with the little fuss possible? -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

[CMake] Removing rpath paths

2018-10-28 Thread Gonzalo Garramuño
"" I can still run it even if LD_LIBRARY_PATH is unset? 3) Why does running 'readelf -d myexecutable | grep RPATH' returns nothing -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ K

Re: [CMake] Removing rpath paths

2018-10-28 Thread Gonzalo Garramuño
in them.  I used the commandline: chrpath -d library to remove it.  Now all is fine with the world. -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support

Re: [CMake] Removing rpath paths

2018-10-28 Thread Gonzalo Garramuño
El 28/10/18 a las 13:59, Alexander Neundorf escribió: On 2018 M10 28, Sun 10:19:58 CET Gonzalo Garramuño wrote: ... 3) Why does running 'readelf -d myexecutable | grep RPATH' returns nothing only grep for "PATH", then you also get the newer RUNPATH entry. Alex Thanks

Re: [CMake] Fwd: Re: Question about CMAKE_MODULE_PATH

2019-02-18 Thread Gonzalo Garramuño
( FATAL_ERROR "your quit message" ) -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, pl

  1   2   >