Re: [CMake] rename of target on install

2010-03-27 Thread Hai Nguyen
Your first suggestion worked out fantastically. Thanks, Hai On Fri, Mar 26, 2010 at 1:44 AM, Michael Wild wrote: > > On 26. Mar, 2010, at 9:23 , Micha Renner wrote: > > > Am Freitag, den 26.03.2010, 08:33 +0100 schrieb Michael Wild: > >> On 25. Mar, 2010, at

[CMake] rename of target on install

2010-03-25 Thread Hai Nguyen
Hi all, Is there a way for me to rename the executable during the install? I'm using the same CMakeList.txt to build several versions and I'd like to install them to different directories but with the version number stripped off of the executable. Thanks, - Hai ___

Re: [CMake] XCode + GCC 4.2

2009-12-18 Thread Hai Nguyen
Downer. Thanks! - Hai On Fri, Dec 18, 2009 at 5:58 AM, Brad King wrote: > Hai Nguyen wrote: > > I can't seem to get the combination of XCode and GCC 4.2 to be happy > > with CMaka. I've tried several different ways to set the compiler > > version. Setting the CM

[CMake] XCode + GCC 4.2

2009-12-18 Thread Hai Nguyen
Hi, I can't seem to get the combination of XCode and GCC 4.2 to be happy with CMaka. I've tried several different ways to set the compiler version. Setting the CMAKE_C/CXX_COMPILER doesn't seem to work. But if i set the environment variabes, CMake comes back and tells me something like this: Ru

[CMake] Intel C++ support for Visual Studio Generator

2009-11-18 Thread Hai Nguyen
I know this gets asked every now and then - I just wanted to get an update on where it's at...is there anyone working on adding a generator for the Intel compiler when using Visual Studio? Slightly annoyed by having to right click and change my project every time I regenerate last night, I started

[CMake] MacOS X Bundle Question

2009-10-24 Thread Hai Nguyen
Hi, I have an existing CMakeList.txt file that I've been using to build Maya plug-ins for Windows and Linux just fine. I've been trying to make it work in MacOS X for a couple days now but with no success. I've googled around and found some very sporadic resources as to how to build MacOS X bundle

Re: [CMake] Linux: CMAKE_DEBUG_POSTFIX/CMAKE_RELEASE_POSTFIX

2009-09-06 Thread Hai Nguyen
...nevermind...added -DCMAKE_BUILD_TYPE=DEBUG/RELEASE and they started working. On Sun, Sep 6, 2009 at 3:22 AM, Hai Nguyen wrote: > Hi, > > I was wondering if these flags worked on Linux. I googled around and it > seems that they're suppose to work. But on Fedora 11's Cma

[CMake] Linux: CMAKE_DEBUG_POSTFIX/CMAKE_RELEASE_POSTFIX

2009-09-06 Thread Hai Nguyen
Hi, I was wondering if these flags worked on Linux. I googled around and it seems that they're suppose to work. But on Fedora 11's Cmake 2.6.4 they seemed to be ignore. If they are working and this is a user error - are there any conditions that might turn them off? Thanks, Hai __

Re: [CMake] CMAKE_VERBOSE_MAKEFILE

2009-08-12 Thread Hai Nguyen
Exactly what i want! Thanks! On Wed, Aug 12, 2009 at 3:44 PM, Sergey Nikulov wrote: > Hai, > > Just generate makefile as usual without any CMAKE_VERBOSE_MAKEFILE then > run > #make VERBOSE=1 > and see if it what you want. > > > 2009/8/13 Hai Nguyen > >> I

Re: [CMake] CMAKE_VERBOSE_MAKEFILE

2009-08-12 Thread Hai Nguyen
ions.html<http://catb.org/%7Eesr/faqs/smart-questions.html> > > > 2009/8/13 Hai Nguyen > >> Is there some kind of magic to using this other than turning it on? The >> behavior seems really inconsistent or it just flat out doesn't work. >> >> Thanks, &g

[CMake] CMAKE_VERBOSE_MAKEFILE

2009-08-12 Thread Hai Nguyen
Is there some kind of magic to using this other than turning it on? The behavior seems really inconsistent or it just flat out doesn't work. Thanks, - Hai ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com

Re: [CMake] add_library/add_executable ordering

2009-06-25 Thread Hai Nguyen
wrote: > Tyler Roscoe wrote: > >> On Wed, Jun 24, 2009 at 03:30:33PM -0700, Hai Nguyen wrote: >> >>> add_library( libB ... ) >>> add_executable( ExecB ... ) >>> target_link_libraries( ExecB libB ) >>> >>> but the build order now is: E

[CMake] add_library/add_executable ordering

2009-06-24 Thread Hai Nguyen
Hi, I'm a bit unclear as to how CMake determines the order of what to build first. In one project I have: add_library( libA ... ) add_executable( ExecA ... ) target_link_libraries( ExecA libA ) the build order is: libA and then ExecA. Yet in another project i have: add_library( libB ... ) add_

Re: [CMake] KDevelop .pcs file and Doxyfile

2009-03-18 Thread Hai Nguyen
Bummer. Thanks for the info though! On Wed, Mar 18, 2009 at 4:15 PM, Alexander Neundorf wrote: > On Thursday 19 March 2009, Hai Nguyen wrote: > > Hi, > > > > I'm doing an out of source build in which my structure looks something > like > > this: > > /

[CMake] KDevelop .pcs file and Doxyfile

2009-03-18 Thread Hai Nguyen
Hi, I'm doing an out of source build in which my structure looks something like this: /include /src /kdevelop So from within the kdevelop directory - I do: cmake .. -G KDevelop3 When I startup kdeveop with my .kdevelop file, it asks me what directories I want to add. I select the kdevelop one. K

[CMake] Location of .idb, .pdb, and .ilk

2009-02-21 Thread Hai Nguyen
Hi, Is there a way I can control where these files end up? Or maybe, is there away I can control where the resulting .dll/.so file ends up apart from these files? Thanks, Hai ___ Powered by www.kitware.com Visit other Kitware open-source projects at h

[CMake] Getting rid of CMAKE_TYPE SubDir in LIBRARY_OUTPUT_PATH

2009-02-18 Thread Hai Nguyen
Hi, Is there a way I can point the LIBRARY_OUTPUT_PATH or LIBRARY_OUTPUT_DIRECTORY using set_target_properties at a specific directory and not have it create the CMAKE_TYPE subdirectory? I have suffixes on my DLL and .LIB files to distinguish what they are and I would like them to just land in a p