${command}
RESULT_VARIABLE result
OUTPUT_FILE build-out.log
ERROR_FILE build-err.log
)
-Original Message-
From: David Cole [mailto:david.c...@kitware.com]
Sent: Wednesday, November 14, 2012 11:17 AM
To: Marshall, Rob
Cc: cmake@cmake.org
Subject: Re: [CMake] install (CODE
To: Marshall, Rob
Cc: cmake@cmake.org
Subject: Re: [CMake] install (CODE ... is not being invoked
If I copy/paste your code into a stand-alone CMakeLists.txt file, and
run CMake 2.8.10.1 on my Mac with it, I get the expected output:
Sample install message. appears during make install after you do
Hi,
I am trying to use install (CODE) with my cmake script when I invoke make
install on the command line
but when I run the make install on the following code
install(CODE set( INSTALL_TO_ARTIFACTS install ) )
install(CODE message(\Sample install message.\))
message ( INSTALL_TO_ARTIFACTS is:
Thanks Stefan,
That is a big help.
Rob
-Original Message-
From: Stefan Eilemann [mailto:eilem...@gmail.com]
Sent: Wednesday, November 07, 2012 12:10 AM
To: Marshall, Rob
Cc: cmake@cmake.org
Subject: Re: [CMake] How to tell if a project is an ExternalProject
On 6. Nov 2012, at 23:43
From a CMAKE script that I am writing is there a way to tell the name of the
current target that is being built without having to pass the target name into
the script as a parameter?
Thanks,
Rob
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
Hi,
I am trying to write a snippet that will determine if a library is an external
project.
So I wrote some code such as:
ExternalProject_Get_Property( ${package} INSTALL_DIR )
To see if INSTALL_DIR gets populated.
In the case where the ${package} doesn't exist as an ExternalProject CMAKE
Is the intent of the find_package() macro to be used to locate prebuilt third
party libraries that have
Include and library files prebuilt?
Or can it be used in a scenario where third party source is on the local file
system but will be built
During the overall build process for a project?
Hi,
I am using ExternalProject_Add to build websocketpp.
The build is successful and libwebsocketpp.a is generated.
But it appears to be generated as a UTILITY rather than a STATIC.
How can I configure ExternalProject_Add to build websocketapp as STATIC?
When I try and link in websocketpp with
(boost::system::error_code const, unsigned long)':
From: David Cole [david.c...@kitware.com]
Sent: Wednesday, October 31, 2012 9:12 AM
To: Marshall, Rob
Cc: cmake@cmake.org
Subject: Re: [CMake] How to generate a STATIC Library using ExternalProject_Add
Use