[CMake] Cmake 2.2.2 with Visual Studio 6. Bug?
Filipe Sousa
filipe at ipb.pt
Fri Nov 25 09:09:42 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daniel Tourde wrote:
> Filipe,
>
> Thank you for your answers. Unfortunately, I must admit that I am a newbie
> with cmake. I discovered it a few days ago and I am completely ignorant about
> its architecture, its syntax and somehow its spirit.
>
> Could you please develop a bit more the ideas and comments you have regarding
> the issues I am confronting at the moment. I do not really understand what
> you meant in your emails but I would like to be able to test your ideas, to
> see if they solve my problems:
>
> - First the compiler flags (from Gcc to VS6)
I was talking about making -Wall default on gcc. This has nothing to do
with VS6.
If you want to add extra flags to your compiler you should use
CMAKE_C_GLAGS or CMAKE_CXX_FLAGS.
IF(UNIX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
ELSE(UNIX)
IF(WIN32)
...
ENDIF(WIN32)
ENDIF(UNIX)
I don't know much about VS compiler flags.
> - Then, the name of the library produced (a .dll when cmake seems to indicate
> that it looks for a .lib).
VS compiler needs the .lib for compile-time. The .dll is only needed in
run-time
> Thanks in advance,
>
> Daniel
Filipe Sousa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDhxsmbQdNYqwwwCwRArNZAKCeYBUhhxoK1dyUNDMwIu2tg8AYCQCgpH9i
/gU4QuvlFG4CeEfx3JBY+kQ=
=5ib4
-----END PGP SIGNATURE-----
More information about the CMake
mailing list