Re: [CMake] CMAKE_INSTALL_PREFIX not being used?

2015-05-05 Thread Tom Davis
of any command-line arguments or cache entries. Tom Davis writes: > I'm trying to install a project to /home/tom/usr/local instead of the standard > /usr/local. I have tried the following: > > $ mkdir build && cd build > $ cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/tom ..

[CMake] CMAKE_INSTALL_PREFIX not being used?

2015-04-30 Thread Tom Davis
I'm trying to install a project to /home/tom/usr/local instead of the standard /usr/local. I have tried the following: $ mkdir build && cd build $ cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/tom .. At this point, I have a CMakeCache.txt file that contains the correct path. I have a cmake_install.cmak

[CMake] Updating external source where URL is a directory?

2015-04-15 Thread Tom Davis
I am using ExternalProject_Add() to add a dependent project. When I'm developing locally, I want to be able to make changes to the dependency and have them pulled in by the parent build without having to commit said changes to a remote repository. To include the dependency, I am using the `URL` par

[CMake] Understanding dependencies with an external project

2015-03-19 Thread Tom Davis
Hi there, I only started using CMake a couple days ago so please pardon the newbie questions. I'm having some trouble understanding the relationships between add_dependencies, add_custom_command, and add_custom_target as they relate to forming dependencies on external project targets. I am trying