[CMake] /MD versus /MT

2010-07-10 Thread John Cary
I am trying to link a project on windows. The final build.make as /MT in it, but I also see: numbersix.cary$ grep CXX_FLAGS_RELEASE:STRING CMakeCache.txt CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2 Any understanding of how I could get to this inconsistency? Thx...John Cary _

Re: [CMake] Copy two files into one file

2010-07-10 Thread Michael Hertling
On 07/09/2010 06:39 PM, Bo Thorsen wrote: > Den 09-07-2010 16:48, Michael Hertling skrev: >> On 07/09/2010 03:48 PM, Bo Thorsen wrote: >>> Hi all, >>> >>> Is there an elegant way of copying two files into one? >>> >>> Right now, I have this: >>> >>> ADD_CUSTOM_COMMAND(OUTPUT privilege_tables.sql >>

Re: [CMake] building tests

2010-07-10 Thread Paul Harris
On 9 July 2010 22:39, Michael Wild wrote: > > On 9. Jul, 2010, at 15:48 , Michael Hertling wrote: > > > On 07/08/2010 09:47 AM, Paul Harris wrote: > >> On 8 July 2010 15:31, Michael Wild wrote: > >> > >>> > >>> On 8. Jul, 2010, at 7:25 , Paul Harris wrote: > >>> > On 8 July 2010 12:56, Mich

[CMake] Suppress setting permissions on existing files or directories

2010-07-10 Thread Angel Tsankov
How does cmake set permissions on files and directories during installation? Can I suppress setting permissions on existing files or directories? Angel Tsankov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.k

Re: [CMake] OSX framework include is not included

2010-07-10 Thread Gregory Sharp
> > But the resulting g++ looks like this (no -I, no -F): > > > > /usr/bin/c++ -o CMakeFiles/opencl_test.dir/opencl_test.cxx.o -c > > /Users/gsharp/work/test/opencl_test.cxx > > > > Any ideas what is wrong? This is CMake 2.8.1 on Darwin 10.4.0. > > The question is, does it work? If you use

Re: [CMake] OSX framework include is not included

2010-07-10 Thread Martin Costabel
Gregory Sharp wrote: Hi, I can't seem to get OSX to include my framework directory. Here is what my cmake file looks like: MESSAGE (STATUS "OPENCL_INCLUDE_DIR = ${OPENCL_INCLUDE_DIR}") INCLUDE_DIRECTORIES (${OPENCL_INCLUDE_DIR}) ADD_EXECUTABLE(opencl_test opencl_test.cxx) TARGET_LINK_L