All,
On Wed, Mar 18, 2009 at 1:20 PM, John Drescher wrote:
>> It seems the following works (at least the cmake_install.cmake
>> commands appear to get generated appropriately).
>>
>> FILE(TO_CMAKE_PATH "${CMAKE_INSTALL_PREFIX}" CMAKE_INSTALL_PREFIX)
>>
> Here is what I do for Program Files
>
> string (REPLACE "\\" "/" PGM_FILES $ENV{PROGRAMFILES})
>
> then I use PGM_FILES and there is no complaint about bad escape sequences.
>
BTW, here is the whole section:
IF(WIN32)
#The following command changes \ to / in the Program Files Path so
CMake will
On Wed, Mar 18, 2009 at 1:43 PM, George Neill wrote:
> Hi All,
>
> On windows, I pass CMAKE_INSTALL_PREFIX on the command line e.g.
> "-DCMAKE_INSTALL_PREFIX=c:\some\path". In my cmake code I use
> variable which contain the suffixes /lib, /man/man1 etc...
>
> The install commands end up lookin
On Wed, Mar 18, 2009 at 3:28 AM, Oliver Kania
wrote:
> I think using Cmake implies having to manually add the names of new files
> etc. to the Cmake file, doesnt it ? Whenever the project changes, I have to
> "regenerate" the visual studio solution. I do not consider this to be
> convenient.
> It
> Is this causing issues with the building of your project? Or is it just ugly
> to look at?
>
Bill,
I am not the OP but I use cmake 2.6.3 since it was released with
vs2005 but for me I can not see any difference besides the ugly symbol
in the solution explorer.
John
_
> cmake 2.6.3.
> There has been a number of modifications which have caused all headers in the
> generated project files .vcproj to be excluded frm build
> (the red minus sign next to the file in Solution explorer)
>
> I have searched from inside VStudio the string HEADER_ONLY (ignoring case) in
On Fri, Mar 13, 2009 at 3:09 PM, John Drescher wrote:
> On Fri, Mar 13, 2009 at 3:08 PM, John Drescher wrote:
>>> Will standard releases of Boost
>>> contain CMakeLists files in my lifetime?
>>
>> They do already. 1.38.0 did. Although I did not have goo
On Fri, Mar 13, 2009 at 3:08 PM, John Drescher wrote:
>> Will standard releases of Boost
>> contain CMakeLists files in my lifetime?
>
> They do already. 1.38.0 did. Although I did not have good success
> building it that way.
>
Here is a link to the release notes (look a
> Will standard releases of Boost
> contain CMakeLists files in my lifetime?
They do already. 1.38.0 did. Although I did not have good success
building it that way.
John
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http:/
On Fri, Mar 13, 2009 at 1:39 PM, Alexander Neundorf
wrote:
> On Friday 13 March 2009, John Drescher wrote:
>> Is there a way to have cmake automatically create empty missing source
>> files instead of failing?
>
> No, there is not.
>
>> Basically I when I need to a
On Fri, Mar 13, 2009 at 1:15 PM, Denis Scherbakov
wrote:
>
> John,
>
> You may want to look into ADD_CUSTOM_COMMAND.
>
>
> PROJECT(CORBASAMPLE)
>
> ADD_CUSTOM_COMMAND(
> OUTPUT "${PROJECT_BINARY_DIR}/MyMicoGeneratedSource.cpp"
> COMMAND "${MICO_IDL_EXECUTABLE}" --hh-suffix=h
Is there a way to have cmake automatically create empty missing source
files instead of failing?
Basically I when I need to add new files I add new entries to my
CMakeLists.txt file then I have to go to the shell and touch on each
file I add so that cmake will not fail to regenerate the project.
This worked for me inside the folder containing the sln file and
running from a Visual Studio 2005 command prompt.
X:\VC.80\Lung\QtBasicUtils>devenv QtBasicUtils.sln /build Debug /project INSTALL
Microsoft (R) Visual Studio Version 8.0.50727.762.
Copyright (C) Microsoft Corp 1984-2005. All right
On Tue, Jan 20, 2009 at 1:12 PM, Kermit Mei wrote:
> Clinton Stimpson wrote:
>>
>> How about using ${GUI_UIS} instead of ${SAMPLE_UIS}, which is undefined.
>>
>> Clint
>
> Hmm, thank you. I had repired some erros, and the GUI.so can be created.
>
> But the new troubles come:
>
You do not appear t
On Mon, Jan 12, 2009 at 3:27 PM, James Bigler wrote:
> So when I have a project that builds a library (call it libprovides) and I
> have another project that uses that library (libuses), CMake creates a build
> dependency between the two projects. I can see them when I open the Project
> Dependen
On Wed, Jan 7, 2009 at 5:19 PM, John Drescher wrote:
>> ### QUESTIONS ###
>> 1. Is file modification detection based on file content instead of
>> timestamp supported already?
>> 2. Is support for it planned?
>> If not, i would like to make a feature request!
> ### QUESTIONS ###
> 1. Is file modification detection based on file content instead of
> timestamp supported already?
> 2. Is support for it planned?
> If not, i would like to make a feature request!
> 3. How hard would it be to implement that?
>
I could be totally wrong but doesn't CMake have no
On Wed, Oct 29, 2008 at 7:07 PM, Powei Feng <[EMAIL PROTECTED]> wrote:
> Hi,
> This is probably yet another noob question. When I use
> cmake to generate Visual Studio project files, only the
> sources (cpp's) show up in the project. Is there a flag I
> can set to include the headers (h's) as wel
> Then you're not copying the buildtree, but the source tree. The
> buildtree is the directory containing all the files generated by CMake
> and the make/your-ide-buildtool runs.
>
Your correct and when I reread the OP they did not want to run cmake
again. Sorry for wasting peoples time..
John
___
On Thu, Sep 4, 2008 at 11:11 AM, Andreas Schneider <[EMAIL PROTECTED]> wrote:
> On Thursday 04 September 2008 16:57:18 Bill Hoffman wrote:
>> You don't CMake does not support the relocation of build trees.
>
> http://www.cmake.org/Wiki/CMake_FAQ#Why_does_CMake_use_full_paths.2C_or_can_I_copy_my_bui
> What about those of us that do not want the header files compiled (no
> pre-compiled headers, etc.), but still want the folders to show up in Visual
> Studio (or any other IDE)?
>
That is how it works in my example.
John
___
CMake mailing list
CMake@cm
On Thu, Aug 28, 2008 at 12:10 AM, Craig Miller
<[EMAIL PROTECTED]> wrote:
> I've read good things about cmake and would like to start using it. I spent
> the afternoon reading the online tutorials and trying to get a simple hello
> world c++ project setup and running. I started with the documenta
> I don't know how helpful saying this will be, but it works for me, at
> least for CMake 2.6.1 and VS 2008 Express. My same project also builds
> unchanged for 2005 Professional and 2003 Professional, and the headers
> even end up in the right project folders by default (I don't use source
> grou
On Mon, Aug 25, 2008 at 9:57 AM, Ingrid Kemgoum
<[EMAIL PROTECTED]> wrote:
> my generator is visual 8 2005.
> i check for devenv on the net and never get a devenv.exe or .com like
> described in FAQs or error report.
> i only got a .zip with a batch file (.bat) and a devenv.jar
>
> is it normal?
>
On Tue, Aug 12, 2008 at 11:48 AM, Jan Dinger <[EMAIL PROTECTED]> wrote:
> Thats right. So, I ignore this.
>
> Can I disable this warning in my release version? This warning looks not so
> good.
>
Yes. The warning is that you are unnecessarily running moc on that
file. If you are not going to derive
On Tue, Aug 12, 2008 at 11:40 AM, Jan Dinger <[EMAIL PROTECTED]> wrote:
>
>> Your path is wrong for the header file. It should be ./src not .src
>>
>> John
>
> Sorry my fault. Ok now it works fine, but I got a waring:
>
> ### snip ###
> /home/jan/workspace/cpp/autoluncher/src/xmlhandler/xmlhandler.
On Tue, Aug 12, 2008 at 11:24 AM, Jan Dinger <[EMAIL PROTECTED]> wrote:
> Hello folks,
>
> I've a CMakeLists.txt, this file works fine. Now I've added a small wrapper,
> this wrapper is no Qt-Code (no Q_OBJECT flag). How can I merge this in my
> CMakeLists.txt?
>
> make crashes with the this error:
> I have Cmake set up to generate project files for VC6. This works
> fine. The project can only be compiled with the VC6 compiler because
> of legacy code.
>
> What I am interested in is to know if it is possible to generate a VC
> 7,8,9 project using CMake, which will use the VC6 compiler ? Basic
> You are using the visual studio generator or it would not be creating a dsw.
>Use the "Unix Makefiles" generator instead.
>
My guess is that he is trying to use both the visual studio generator
to make a visual studio project to edit the source code in and then
run the make file generator to
On Wed, Jul 23, 2008 at 10:01 PM, Phil Smith <[EMAIL PROTECTED]> wrote:
> Thanks...that's a good suggestion; I think I've done it, but I'm at that
> point where I *think* I've done everything, and may have gone in circles.
>
> How do I tell it "It's a make build" without using the GUI? There must
> This question involves the interaction of several different toolkits during
> the CMake configuration process, so I apologize if this is the wrong venue.
> I'm receiving the error:
>
> "Warning: CMake is forcing CMAKE_CXX_RELEASE_FLAGS to "/MD /O2 /Ob2 /DNDEBUG
> -DQT_NO_DEBUG" to match that impo
> Also, to embellish on my last email, I used the dependencywalker
> utility to discover that the MSVCR80.dll could not be found. I don't
> really know where to look for it either. (VS Newbie)..
>
That is because it is hidden in cryptic folders off your windows install:
C:\WINXP\WinSxS\x86_Microso
> I know for a fact that this is not correct. I have written my own
> single windows applications that have a gui and a console and it is a
> .exe. Link the gui application with subsystem console.
>
Ok. I found what I do. I have a post build step (in a vc6 project
.dsp) that changes the subsyste
On Wed, May 14, 2008 at 9:20 AM, PCJohn <[EMAIL PROTECTED]> wrote:
> Dear cmakers,
>
> I really need to set executable extension to .com instead to standard .exe
> (using MSVC). Is it possible to do that, or do I need to not use cmake for
> win32 platform?
>
> Reasons:
> I planned to port Invent
> What are the flags used in MSVC to create a .com file?
>
I assume you need a very old version of msvc to support 16 bit
compiles. Microsoft compilers have not supported this since version
4.X I believe which was more than 10 years ago.
John
___
CMake
I am running CMake-2.7.2008.04.21 and under Visual Studio moc does not
run correctly all the time for my QT4 projects.
Here is the error:
-- Build started: Project: LungAnalysis, Configuration: Debug Win32 --
Generating qrc_LungAnalysis.cxx
Generating moc_textwidget.cxx
moc: Cannot open
501 - 536 of 536 matches
Mail list logo