Ok. I will clone via github and switch to release branch. I can download
other tar files behind the same proxy. Download is also not blocked here,
at the end of download it says failed.
On Mon, Jun 30, 2014 at 4:49 PM, Nils Gladitz wrote:
> On 06/30/2014 04:39 PM, Rashad M wrote:
>
>> I am behi
On 06/30/2014 04:39 PM, Rashad M wrote:
I am behind a proxy. Is that the problem?
I tried .Z, .tar.gz, .zip files directly from browser and also using wget
The proxy may be the problem since with it you are not directly
downloading from cmake.org but rather from the proxy which itself would
I am behind a proxy. Is that the problem?
I tried .Z, .tar.gz, .zip files directly from browser and also using wget
On Mon, Jun 30, 2014 at 4:24 PM, Nils Gladitz wrote:
> On 06/30/2014 04:19 PM, Rashad M wrote:
>
>> Hi all,
>>
>> I am getting download error on firefox, chrome and from terminal
The reasoning is this: when a target is about to be built, it checks its
dependencies and if any are out of date (or don't exist), it triggers their
building. The binary-dir file is built by the custom command. So when the
custom target is built, it will check its dependency (the binary-dir file)
a
Okay, I switched just the add_custom_target DEPENDS to the binary
directory (but left the add_custom_command alone). That seems to be
doing what I need. I think I'm still not fully understanding the
reasoning behind it, but problem solved I guess.
Thanks,
Eric
On 6/30/14, Eric Wing wrote:
> Tha
On 06/30/2014 04:19 PM, Rashad M wrote:
Hi all,
I am getting download error on firefox, chrome and from terminal using wget
wget http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz
--2014-06-30 16:13:32-- http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz
Proxy request sent, awaiting response...
Simply change the custom target to depend on the binary-dir file; it will
become driver of the custom command, like this:
add_custom_target(fooresources ALL DEPENDS "${CMAKE_BINARY_DIR}/${CMAKE_
CFG_INT}/asset1.lua"
COMMENT "fooresources custom target"
)
Petr
On Mon, Jun 30, 2014 at 4:12
Hi all,
I am getting download error on firefox, chrome and from terminal using wget
wget http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz
--2014-06-30 16:13:32-- http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz
Proxy request sent, awaiting response... 200 OK
Length: 5489804 (5.2M) [applicati
Thanks for the reply. So the usage case is that people are going to be
modifying the resources in the source directory. (These changes have
to be checked into revision control.) So I'm having trouble seeing how
depending on the binary directory is going to work. (The reason I must
copy the resource
Hi Eric.
It seems to me that you're copying from source dir to binary dir, but all
dependencies are on the source dir file only. Therefore, there is nothing
to trigger the generation of the binary-dir file. Perhaps you wanted
'fooresources' to depend on the binary-dir file instead?
Petr
On Mon,
I need to copy resource files from the source directory to the binary
directory with the creation of my executable. I want CMake's
dependency tracking to handle (re)copying these files whenever the
source has been touched.
Looking at other similar questions like:
http://stackoverflow.com/questions
On Mon, Jun 30, 2014 at 3:09 AM, David Cole wrote:
> You can set CMAKE_CONFIGURATION_TYPES to your own list of configurations
> (including limiting it to a single configuration) as long as you set it
> *before* the project command in your CMakeLists.txt file. This technique
> works with the Visua
That's because now you've set prefix to empty string and it'll be expanded to
nothing. VERBATIM made the empty quotes appear because they were put directly
as parameter.
I think if you set(prefix "\"\"") it'll do the trick.
From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of abid rahman
S
OK, I think It is better to stick to my first option. That looks better.
Thank you for all your suggestions.
Abid K.
On Mon, Jun 30, 2014 at 4:56 PM, Jakub Zakrzewski
wrote:
> That's because now you've set prefix to empty string and it'll be
> expanded to nothing. VERBATIM made the empty quo
I think it should work if you put quotes around the expansion - otherwise,
an empty variable expands to nothing, not to an empty string:
*add_custom_command(*
*OUTPUT ${some_files}*
*COMMAND ${PYTHON_EXECUTABLE} test.py "${prefix}" ${src} ${dst}*
*DEPENDS ${... all deps ..}
Thank you Nils, VERBATIM really worked for me as shown below:
*add_custom_command(*
*OUTPUT ${some_files}*
*COMMAND ${PYTHON_EXECUTABLE} test.py "" ${src} ${dst} *
*DEPENDS ${... all deps ..}*
*VERBATIM )*
But now got a new question. I tried setting a variable and pass
You can set CMAKE_CONFIGURATION_TYPES to your own list of
configurations (including limiting it to a single configuration) as
long as you set it *before* the project command in your CMakeLists.txt
file. This technique works with the Visual Studio and Xcode generators.
See the following bug repo
On Mon, Jun 30, 2014 at 1:13 AM, Jörg Kreuzberger wrote:
> I thought the CMAKE_BUILD_TYPE only would work for nmake makefile
> generation (Single Configuration Generator) and is ignored in Visual Studio
> SLN Generator (Multi Configuration Generator).
>
> Maybe i should "clear" or reduce the list
I thought the CMAKE_BUILD_TYPE only would work for nmake makefile generation
(Single Configuration Generator) and is ignored in Visual Studio SLN Generator
(Multi Configuration Generator).
Maybe i should "clear" or reduce the list of CMAKE_CONFIGURATION_TYPES to just
one?
-Ursprüngliche
On 06/30/2014 09:42 AM, abid rahman wrote:
Hello,
I need to execute following command with add_custom_command:
*python test.py "" src dst*
The first argument is empty. Sometimes it may have some text. So Python
process the args as [test.py, "", src, dst]. But when I do the same with
add_custom
ya, ignore the other types, and just set CMAKE_BUILD_TYPE appropriratly.
On Mon, Jun 30, 2014 at 12:43 AM, Jörg Kreuzberger <
j.kreuzber...@procitec.de> wrote:
> Hi!
>
> During my migration from qmake to cmake it is pure hell for me to support
> the multi configuration visual studio solutions, e
Hello,
I need to execute following command with add_custom_command:
*python test.py "" src dst*
The first argument is empty. Sometimes it may have some text. So Python
process the args as [test.py, "", src, dst]. But when I do the same with
add_custom_command, the empty argument is not consi
Hi!
During my migration from qmake to cmake it is pure hell for me to support the
multi configuration visual studio solutions, especially for some parts like the
installation steps, custom targets and so on. Most of them are because of the
problem with the different build dirs in this multi con
23 matches
Mail list logo