On Feb 11, 2008 6:45 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote:
> Alexander Neundorf wrote:
> > On Monday 11 February 2008, Mathieu Malaterre wrote:
> >> Hi there,
> >>
> >> I would like to know if anyone has written a ADD_COMPILE_TEST macro
> >> for cmake. Basically I would like to check that s
Hi
I am using
GET_TARGET_PROPERTY(vpcl_path vpcl LOCATION)
This command returns the vpcl_path as
C:/NIGHTLY_BUILD_IMPROVED_TESTING/Visual Studio
6Debug/output/$(IntDir)/vpcl.lib
The $(IntDir) variable must be some CMake specific variable. Instead of
the path returned from GET_TARGET_PROPERTY,
2008/2/6, Michael Wild <[EMAIL PROTECTED]>:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi all
>
> I wanted to ask whether the new CMake book will be available on Amazon
> or some other (preferably european) retailer. The problem is that if I
> buy it through the Yahoo shop, shipping to S
On Monday 11 February 2008, KHMan wrote:
...
> As it is, I have tried to look for a list of key developers, but
> since the project is identified more with the company, I was
> unable to find a list of key developers easily. I looked at the
> website and tarball, but didn't manage to get a clear an
Alexander Neundorf wrote:
On Monday 11 February 2008, Mathieu Malaterre wrote:
Hi there,
I would like to know if anyone has written a ADD_COMPILE_TEST macro
for cmake. Basically I would like to check that some template
instantiation should not compile, while other should. I tried quickly
doin
When running ctest, and I hit ctrl-c to stop it, is it supposed to kill the
application being run by ctest? On Windows, I'm stale apps that I have to
kill with the task manager that ctest didn't kill.
Clint
___
CMake mailing list
CMake@cmake.org
http
On Monday 11 February 2008, Mathieu Malaterre wrote:
> Hi there,
>
> I would like to know if anyone has written a ADD_COMPILE_TEST macro
> for cmake. Basically I would like to check that some template
> instantiation should not compile, while other should. I tried quickly
> doing cmake -P + TRY_C
On Monday 11 February 2008 8:53:34 am StefanV wrote:
> Hello List,
> I've started using cmake some days ago to build a cpp-app using Qt4.4
> Technology Preview 1 on my Debian Sid host. I need to link against the
> new Phonon-Lib, so I extended the standard CMake 2.4.8 Modules to be
> able to link a
Hello List,
I've started using cmake some days ago to build a cpp-app using Qt4.4
Technology Preview 1 on my Debian Sid host. I need to link against the
new Phonon-Lib, so I extended the standard CMake 2.4.8 Modules to be
able to link against the lib. I only tested Phonon, whose name may
change in
On Feb 8, 2008 6:35 AM, Sylvain Benner <[EMAIL PROTECTED]> wrote:
>
> >
> > SET(CMAKE_COMMAND "copy \"${vpcl_path}\" \"${PROJECT_SOURCE_DIR}\"")
> >
> > ADD_CUSTOM_COMMAND(TARGET vpcl POST_BUILD COMMAND ${CMAKE_COMMAND}
> > VERBATIM)
> >
> I think you have forgot the ARGS argument
ARGS is old scho
Gerhard Grimm wrote:
> Hi Stephen,
>
> there are two ways to have this compiler flag added in a non-global fashion:
>
> - You can add it to specific targets using
>
> set_target_properties(mytarget1 mytarget2 ...
> PROPERTIES COMPILE_FLAGS "/Zc:wchar_t-")
This works fi
In general, this code-fragment works:
SET(_srcDir1 /${vpcl_path})
SET(_destination /${PROJECT_SOURCE_DIR}})
IF (MSVC)
SET(command xcopy)
SET(_parameter "/Y/I")
ELSE(MSVC)
set(command cp)
ENDIF(MSVC)
ADD_CUSTOM_TARGET(myTarget ALL DEPENDS ${_srcDir1})
FILE(TO_NATI
What's the value of $(IntDir) ?
Have you already tried this :
$(IntDir)/vpcl.lib
instead of
C:/NIGHTLY_BUILD_IMPROVED_TESTING/Visual Studio
6Debug/output/$(IntDir)/vpcl.lib?
?
And in your path the directory "Visual Studio 6Debug" is right ?
--Sylvain
Tried that also...still not working!!..:(...any other clue?
Thanks and Regards
Anupam Malhotra
-Original Message-
From: Sylvain Benner [mailto:[EMAIL PROTECTED]
Sent: Monday, February 11, 2008 5:05 PM
To: Malhotra, Anupam
Cc: cmake@cmake.org
Subject: Re: [CMake] Problem in ADD_CUSTOM_CO
And using xcopy instead of copy ?
--Sylvain
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
I tried this command. Now it is not giving any error but the file is not
actually copied. I printed the value of vpcl_path. It is showing that
as:
C:/NIGHTLY_BUILD_IMPROVED_TESTING/Visual Studio
6Debug/output/$(IntDir)/vpcl.lib
Please advice. Thanks in advance.
Thanks and Regards
Anupam Malhotra
I missed the additional quotes, the correct command is :
ADD_CUSTOM_COMMAND(TARGET vpcl POST_BUILD COMMAND copy
"\"${vpcl_path}\"" "\"${PROJECT_SOURCE_DIR}\"" VERBATIM)
This is a common rule in CMake script, when you want to pass an
argument, always use quotes to be sure it will not be split
Hi,
ADD_CUSTOM_COMMAND(TARGET vpcl POST_BUILD COMMAND copy ARGS
"\"${vpcl_path}\"" "\"${PROJECT_SOURCE_DIR}\"" VERBATIM)
And also
ADD_CUSTOM_COMMAND(TARGET vpcl POST_BUILD COMMAND copy ARGS
"${vpcl_path}" "${PROJECT_SOURCE_DIR}" VERBATIM)
Can you developp the command, what's the val
Brandon Van Every a écrit :
CMake's Killer App would be a build conversion evaluator
that gives hope to the project, and incrementally leads to a full
translation. That is the vision. Do you want to help with that or do
you want to leave me to figure it out?
If I had time to help, sure I
Hi everybody,
I'm trying to get a ctest (from cmake-2.4.8 release) script to run with
our svn repository and am hitting some obstacles in the way ;)
To begin with, I can't get the generated DartConfiguration.tcl to
contain an SVNCommand definition. I do set CTEST_SVN_COMMAND and let
ctest ins
Hi there,
I would like to know if anyone has written a ADD_COMPILE_TEST macro
for cmake. Basically I would like to check that some template
instantiation should not compile, while other should. I tried quickly
doing cmake -P + TRY_COMPILE but I am getting an error :
Command TRY_COMPILE not s
Hi Stephen,
there are two ways to have this compiler flag added in a non-global fashion:
- You can add it to specific targets using
set_target_properties(mytarget1 mytarget2 ...
PROPERTIES COMPILE_FLAGS "/Zc:wchar_t-")
- You can add it to specific source files using
22 matches
Mail list logo