Re: [CMake] Unable to locate boost_unit_test_framework-vc90-mt-gd-1_45.lib

2011-08-10 Thread Michael Hertling
On 08/10/2011 04:27 PM, Stephen Torri wrote: > I am having a problem setting up CMake to find the Boost unit test framework > library when building a test program. In the top level CMakeLists.txt file I > have: > > ENABLE_TESTING() > > add_subdirectory ( path/to/test ) > > In the test directory

Re: [CMake] include directories,

2011-08-10 Thread Michael Wild
On Wed 10 Aug 2011 04:51:36 PM CEST, Łukasz Tasz wrote: > Hi All, > > Can somebody please advise me with this topic, if it is expected > behaviour or a bug? > > thanks in advance > Lukasz > > 2011/8/4 Łukasz Tasz : >> Hi All, >> >> I have a question according include_directories() function and >

Re: [CMake] exclude build project from solution

2011-08-10 Thread David Cole
Looks to me like the one chunk of code that actually refers to the target property: if(target->GetPropertyAsBool("EXCLUDE_FROM_DEFAULT_BUILD")) { return false; } should be changed to: if(target->GetPropertyAsBool("EXCLUDE_FROM_DEFAULT_BUILD") || target->GetPropertyAsBool(

Re: [CMake] include directories,

2011-08-10 Thread Łukasz Tasz
Hi All, Can somebody please advise me with this topic, if it is expected behaviour or a bug? thanks in advance Lukasz 2011/8/4 Łukasz Tasz : > Hi All, > > I have a question according include_directories() function and > INCLUDE_DIRECTORIES directory property. > > Is it possible that I will know

[CMake] Unable to locate boost_unit_test_framework-vc90-mt-gd-1_45.lib

2011-08-10 Thread Stephen Torri
I am having a problem setting up CMake to find the Boost unit test framework library when building a test program. In the top level CMakeLists.txt file I have: ENABLE_TESTING() add_subdirectory ( path/to/test ) In the test directory CMakeLists.txt file I have: LINK_DIRECTORIES ( ${Boost_LIBRARY

Re: [CMake] Weird behaviour with CPackComponent and NSIS

2011-08-10 Thread David Cole
On Tue, Aug 9, 2011 at 6:11 PM, Mathias Gaunard wrote: > I've recently upgraded to CMake 2.8.5 to try out the new > CPack/CPackComponent separation, which allows me to include CPackComponent > to get the various cpack component macros, but only include CPack later. > > I end up with very strange t

Re: [CMake] append command

2011-08-10 Thread David Cole
On Tue, Aug 9, 2011 at 3:34 PM, Alan W. Irwin wrote: > On 2011-08-09 17:19+0100 Glenn Coombs wrote: > >> Probably too late now and there isn't a bug filed so far as I know, but >> one thing I would love to see added to cmake is an append command >> so that lines like this: >> >>     set(CMAKE_EXE_

[CMake] ".S" files and assembler

2011-08-10 Thread Micha Renner
Hi, in http://www.cmake.org/pipermail/cmake/2009-November/033346.html I found the line: "If the file (.S) needs to be preprocessed, set the LANGUAGE source file property to C, this should work in most cases for now." Is this still the way to process .S-files. In 2009 it sounded so temporary. And