Hello, I'm a newbie of cmake. In a simple project, I worte the
CMakelists.txt file like this:
cmake_minimum_required(VERSION 2.6)
PROJECT(FREERECITE)
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(dict)
INSTALL(FILES ../bin/Fre
Óscar Fuentes wrote:
Group <[EMAIL PROTECTED]> writes:
[snip]
When I use "make install", everything do as I wanted.
But I can't use "make uninstall". How to deal with it?
http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F
Generally I am using CMake successfully, and am generating makefiles for Linux,
Solaris, and Visual Studio 9. I recently used the "Eclipse CDT4 - NMake
Makefiles" generator, and then loaded the resulting project into my Eclipse
environment under Windows XP.
Eclipse then complains about missi
Do you have a stale CMakeCache.txt file somewhere ?
It's *usually* perfectly safe to delete all occurrences of CMakeCache.txt
within a project and have CMake regenerate them. I say usually, because I have
no idea if you are modifying that file for some reason, although the practice
is not reco
__
From: Joe L [mailto:superist_...@yahoo.com]
Sent: Tuesday, January 05, 2010 2:44 PM
To: Smith Jack (Ext. - UGIS - UniCredit Group); cmake@cmake.org
Subject: Re: [CMake] Compiler Test Failing on Windows 7
I deleted the whole build directory before running the b
make.org] On Behalf Of
Smith Jack (Ext. - UGIS - UniCredit Group)
Sent: Tuesday, January 05, 2010 8:51 AM
To: cmake@cmake.org
Subject: Re: [CMake] Compiler Test Failing on Windows 7
"The path is made from a batch script, and cmake is hardcoded to use 32bit on
windows in the build scripts."
On Tuesday 05 January 2010, Smith Jack (Ext. - UGIS -
> UniCredit Group) wrote:
> > Generally I am using CMake successfully, and am generating
> makefiles
> > for Linux, Solaris, and Visual Studio 9. I recently used
> the "Eclipse
> > CDT4 - NMake Makefiles&quo
+Edited for brevity.
> In the Help menu go to "About Eclipse" then click on "CDT"
> icon this will show you your CDT version.
Eclipse C/C++ Development Tools - Mylyn Bridge
Version: 5.1.0.200909110608
Build id: 200909110608
> Is eclipse OK when you create a CDT project usin
Never Mind, I found the errant include directive.
I do apologize.
> -Original Message-
> From: cmake-boun...@cmake.org
> [mailto:cmake-boun...@cmake.org] On Behalf Of Smith Jack
> (Ext. - UGIS - UniCredit Group)
> Sent: Thursday, January 07, 2010 9:34 AM
> To: cmake@c
I do a similar thing with an XSD file from which I generate c++ wrapper classes
for accessing the corresponding XML
Note the DEPENDS line !
MACRO(XSD FILE NAMESPACE)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/xml/${FILE}.cpp
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/x
Does the Cmake Visual Studio generator understand the concept of sub projects.
Solution
-ProjectA
-ProjectB
--SubprojectB1
--SubprojectB2
-ProjectC
I'd like to have a generated solution such that when opened within visual
studio, the subprojects SubprojectB1, and SubprojectB2 are "collapsable"
I have the following scenario:
I have a large project with several sub-projects.
I always want CMake run Visual Studio/Nmake/Eclipse specific generators for all
the sub-projects so that I may edit any sub-project in my IDE of choice on the
platform of choice.
BUT when Make (Gmake, Nmake, etc.
It's worryingly quiet on this subject.
> -Original Message-
> From: cmake-boun...@cmake.org
> [mailto:cmake-boun...@cmake.org] On Behalf Of Smith Jack
> (Ext. - UGIS - UniCredit Group)
> Sent: Tuesday, March 02, 2010 6:31 PM
> To: cmake@cmake.org
> Subject: [C
"Smith Jack (Ext. - UGIS - UniCredit Group)"
> :
> >
> > It's worryingly quiet on this subject.
>
> So, just exclude the target that won't build from ALL.
>
I'm afraid you've lost me there. Do I do this within a CMakeLists.txt file ?
My current CMake
platform test to see if it should build the
target.
Is this possible.
>
> On Wed, Mar 3, 2010 at 12:27 AM, Smith Jack (Ext. - UGIS - UniCredit
> Group) wrote:
> >
> >
> >
> >> -Original Message-
> >> From: cmake-boun...@cmake.org
> >>
> -Original Message-
> From: Eric Noulard [mailto:eric.noul...@gmail.com]
> Sent: Wednesday, March 03, 2010 10:51 AM
> To: Smith Jack (Ext. - UGIS - UniCredit Group)
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Supressing Make, but not Generators
>
> 2010/3/3
16 matches
Mail list logo