Re: [CMake] Correct settings to add docopt.cpp to target list

2014-12-04 Thread Adam Getchell
I should note that I'm doing an out of source build, and that for my project the following line works: ┌─[*adam*][Hapkido][*±*][docopt *✓*][~/CDT-plusplus/build] └─▪ clang++ --std=c++11 --stdlib=libc++ -I ../src/docopt ../src/docopt/docopt.cpp ../src/cdt-docopt.cpp -o cdt_docopt On Thu, Dec 4, 2

[CMake] Correct settings to add docopt.cpp to target list

2014-12-04 Thread Adam Getchell
Hello all, I’m trying to use the docopt.cpp parser for my project[1]: https://github.com/docopt/docopt.cpp The usual invocation to build works: ┌─[adam][Hapkido][±][docopt ✗][~/CDT-plusplus/src/docopt] └─▪ clang++ --std=c++11 --stdlib=libc++ -I . docopt.cp

Re: [CMake] project directive overwrites CMAKE_INSTALL_PREFIX?

2014-12-04 Thread J Decker
I find it's better to define CMAKE_INSTALL_PREFIX on the command line when building I do have this bit of code... IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) SET(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/../${CMAKE_BUILD_TYPE}_out CACHE PATH "Install default 'out' in this directory." FOR

[CMake] project directive overwrites CMAKE_INSTALL_PREFIX?

2014-12-04 Thread Chris Johnson
I have a global include file used by all of the CMakeLists.txt files in my project. In it, I set the value of CMAKE_INSTALL_PREFIX, as well as a number of other variables and functions. In my CMakeLists.txt file, I had this: cmake_minimum_require(VERSION 2.8.4) include(global.inc) project(whateve

[CMake] Visual Studio 12 C++ Compiler Detection

2014-12-04 Thread Allen Barnett
Hi: I'm trying to create a 64-bit Visual Studio 12 (aka 2013) project with CMake 3.0.2. My CMakeLists.txt file is really simple: cmake_minimum_required( VERSION 3.0 ) project( cmc CXX ) # What compiler did we find? message( "C++: ${CMAKE_CXX_COMPILER}" ) >From a windows shell I do: > c:\Program

Re: [CMake] CMake and 64-bit Systems

2014-12-04 Thread Jakub Zakrzewski
Hallo Michael, > does CMake run on 64-bit OS (e.g. Ubuntu 14.10 64-bit) without problems or > are there some workarounds necessary > to get it run? If so, is there a description available? CMake runs smoothly on much more exotic than 64-bit OS, so what makes you think it wouldn't work on those?

Re: [CMake] CMake and 64-bit Systems

2014-12-04 Thread John Drescher
> does CMake run on 64-bit OS (e.g. Ubuntu 14.10 64-bit) without problems > or are there some workarounds necessary to get it run? If so, is there a > description available? > I have not had any real issue with cmake (32 or 64 bit binary) on 64 bit linux or windows. John -- Powered by www.kitwa

[CMake] CMake and 64-bit Systems

2014-12-04 Thread Micha Renner
Hallo, does CMake run on 64-bit OS (e.g. Ubuntu 14.10 64-bit) without problems or are there some workarounds necessary to get it run? If so, is there a description available? Greetings Michael -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http:/