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
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
>
> 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
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
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
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
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
> 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