Re: [CMake] Build, Make Install for multiple machines - Guidelines for Success

2016-06-07 Thread Roger Leigh
On 07/06/2016 12:10, B00083603 Michael O Brien wrote: Hi all, I have to build OpenCV on multiple machines and I was wondering if the following was possible and advisable or should I use a different method? I'm still learning about the cmake,make, make install way of software installation *Envir

Re: [CMake] Freetype on linux systems in non-standard directories

2016-06-07 Thread Kristian
Hey Andreas, thanks for your answer. Yes, that also works :) 2016-06-07 16:58 GMT-04:00 Andreas Naumann : > Hey Kristian, > > as the documentation > https://github.com/Kitware/CMake/blob/master/Modules/FindFreetype.cmake > at line 21 states, FREETYPE_DIR is an environment variable. > So, if you

[CMake] Get ctest -S script to pull from git branch other than 'master'?

2016-06-07 Thread Bartlett, Roscoe A
Hello, Is there a built-in way to get a ctest -S script to checkout and pull from a git branch other than 'master'? I can't seem to find a way to so this and there is no mention of branches at all in the official documentation: https://cmake.org/cmake/help/v3.6/command/ctest_update.html?h

Re: [CMake] Freetype on linux systems in non-standard directories

2016-06-07 Thread Andreas Naumann
Hey Kristian, as the documentation https://github.com/Kitware/CMake/blob/master/Modules/FindFreetype.cmake at line 21 states, FREETYPE_DIR is an environment variable. So, if you change your line set(FREETYPE_DIR "/home/kristian/Documents/freetype/freetype") to set(ENV{FREETYPE_DIR} "/home/kris

Re: [CMake] Freetype on linux systems in non-standard directories

2016-06-07 Thread Rolf Eike Beer
Am Dienstag, 7. Juni 2016, 16:47:42 schrieb Kristian: > Hey guys, > > I wanted to try something out with CMake and latest version of freetype > (2.6.3). So I downloaded freetype, compiled it with the commands > > > ./configure --prefix=/home/kristian/Documents/freetype/freetype > > make > > make

[CMake] Freetype on linux systems in non-standard directories

2016-06-07 Thread Kristian
Hey guys, I wanted to try something out with CMake and latest version of freetype (2.6.3). So I downloaded freetype, compiled it with the commands > ./configure --prefix=/home/kristian/Documents/freetype/freetype > make > make install After that, I created a small C++-file and a CMakeLists.txt.

[CMake] How do you handle recursive dependencies in CMake

2016-06-07 Thread Baars, S.
Hey everyone, I posted a question on StackOverflow a while ago, but got no real answer to my question there. I posted an answer there by myself, but this solution does not work on every system. Since it also involves some possible inconsistencies in the CMake documentation, I decided to ask the qu

Re: [CMake] Problem building CMake with system OPENSSL

2016-06-07 Thread Brad King
On 06/07/2016 04:00 PM, Kristian wrote: > What's the meaning of the bootstrap executable? I thought, when > compiling CMake, it is sufficient to call ./configure and then make... The bootstrap script is the way to bootstrap CMake. The `configure` script is just a thin wrapper around `bootstrap` f

Re: [CMake] Problem building CMake with system OPENSSL

2016-06-07 Thread Kristian
What's the meaning of the bootstrap executable? I thought, when compiling CMake, it is sufficient to call ./configure and then make... 2016-06-07 15:13 GMT-04:00 Brad King : > On 06/07/2016 10:58 AM, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: > > I tried out the 3.6.0-rc1 and my problem buildin

Re: [CMake] Problem building CMake with system OPENSSL

2016-06-07 Thread Brad King
On 06/07/2016 10:58 AM, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: > I tried out the 3.6.0-rc1 and my problem building CMake still exists. Thanks for testing it. > (cd /tmp/cmake-build && \ > ../cmake-3.6.0-rc1/bootstrap && \ > make -j 10 && \ > ./bin/cmake -DCMAKE_BUI

[CMake] cpack ppc64le rhel7.2 CPACK_RPM_PACKAGE_ARCHITECTURE

2016-06-07 Thread M Kelly
Hi, I am working on an IBM Power8 RHEL7.2 system and we installed cmake 3.6 (default cmake from repo was 2.8.12?) but it seems when making a package the arch is set incorrectly to x86_64 instead of ppc64le. Anyone have a clue if this cpack on this dist could get its arch wrong ? cmake 3.5.1 on Ub

Re: [CMake] Problem building CMake with system OPENSSL

2016-06-07 Thread Lowekamp, Bradley (NIH/NLM/LHC) [C]
Hello, I tried out the 3.6.0-rc1 and my problem building CMake still exists. I created a Dockerfile to reproduce my problem: ===Dockerfile=== ROM debian:8 MAINTAINER Bradley Lowekamp RUN apt-get update && apt-get install -y \ build-essential \ curl \ libncurses-dev \ emacs # Install

[CMake] Build, Make Install for multiple machines - Guidelines for Success

2016-06-07 Thread B00083603 Michael O Brien
Hi all, I have to build OpenCV on multiple machines and I was wondering if the following was possible and advisable or should I use a different method? I'm still learning about the cmake,make, make install way of software installation Environment All the machines (vms) have access to the sam

Re: [CMake] Build a program and get its output during "cmake" run

2016-06-07 Thread Yaron Cohen-Tal
For some reason I was looking for it in the cmake modules, where "CHECK_CXX_SOURCE_RUNS" was.. Thanx! On Tue, Jun 7, 2016 at 10:23 AM, Petr Kmoch wrote: > Hi Yaron, > > I believe you're looking for CMake's try_run() command: > https://cmake.org/cmake/help/latest/command/try_run.html > > Petr >

Re: [CMake] Build a program and get its output during "cmake" run

2016-06-07 Thread Petr Kmoch
Hi Yaron, I believe you're looking for CMake's try_run() command: https://cmake.org/cmake/help/latest/command/try_run.html Petr On 7 June 2016 at 09:15, Yaron Cohen-Tal wrote: > Hi, > > I'd like to build a C++ program and get its output during "cmake" run, not > during the project build. "CHEC

[CMake] Build a program and get its output during "cmake" run

2016-06-07 Thread Yaron Cohen-Tal
Hi, I'd like to build a C++ program and get its output during "cmake" run, not during the project build. "CHECK_CXX_SOURCE_RUNS" only gives me the exit code, but I need the output from the program. Anyway to do it? Thanx, Yaron -- Powered by www.kitware.com Please keep messages on-topic and ch