Re: [CMake] Watcom Support

2010-03-07 Thread J Decker
Ooops, missed a linker line that needed added. Also, apparently, the _DEBUG_ modes of C flags dropped the -d2 for writing debug info out. Attattched modified windows-wcl386.cmake. On Sun, Mar 7, 2010 at 4:39 PM, J Decker wrote: > Uhmm... okay a thing that would help a LOT > > adding to CMAKE_C

Re: [CMake] Watcom Support

2010-03-07 Thread J Decker
Uhmm... okay a thing that would help a LOT adding to CMAKE_C_LINK_EXECUTABLE in windows-wcl386.cmake # additional definitions that work, when is part of the link rule SET (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "debug all" ) SET (CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT "debug all" ) SET (CMAKE_EXE_LI

Re: [CMake] How to override flags for a single target

2010-03-07 Thread J Decker
> > project (cm_BBS) > ... > set (SOURCES ... BBS.rc) > ... > add_custom_command( OUTPUT ${PROJECT_BINARY_DIR}/cm_BBS.res >     DEPENDS BBS.rc > COMMAND ${CMAKE_RC_COMPILER} ${CMAKE_CXX_FLAGS} > -D__USER__=\"$(username)\" > ) > > > to replace the behavior of the

Re: [CMake] How to override flags for a single target

2010-03-07 Thread J Decker
I had more luck with using... SET (CMAKE_RC_COMPILE_OBJECT " /fo ${your user flags here}") # and maybe... SET(CMAKE_RC_COMPILER "rc") # then... ENABLE_LANGUAGE(RC) but then I couldn't pass the .res file to the linker with appropriate option (well I guess maybe I can) On Sun, Mar 7, 2010 at 3:02

[CMake] How to override flags for a single target

2010-03-07 Thread Tony Bridges
Hello all, I'm hopeful that someone can point me in the correct direction to solve a problem I'm having setting up arguments into the resource compiler. I am attempting to add a custom rule to a CMakeLists.txt file to allow me to set a specific flag for one file in the SOURCES list. I'm assuming

[CMake] building plplot for compaq visual fortran

2010-03-07 Thread Vincenzo Urso Miano
Hello, as per object I am trying to do this build. It's the fist time I am compiling some libraries. Details: -Windows XP -compaq visual fortran 6.6c -to build plplot I am using Bcc, the c++ compiler from borland (I am not sure I should use this). -cmake 2.8 The problem: -the first time i click o

[CMake] Date/Time Function?

2010-03-07 Thread Cliff Yapp
Last year, a thread came up where the possibility of including functionality in CMake to return things like the current Month, Day, Year and Tim was discussed: http://www.cmake.org/pipermail/cmake/2009-March/027947.html I was curious if anything ever came of that? I can't find any such functiona

Re: [CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-07 Thread Micha Renner
> Hi Micha: > > What specific URL did you download? >From http://www.cmake.org/files/v2.8/?C=M;O=D I downloaded the cmake-2.8.1-rc4.zip > > My previous data was for 2.8.1-rc3. Just now I downloaded > http://www.cmake.org/files/v2.8/cmake-2.8.1-rc4.tar.gz. Bootstrap in source > tree (and subs