[AD] cmake vc 9, profile mode |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: [AD] cmake vc 9, profile mode
- From: Matthew Leverton <meffer@xxxxxxxxxx>
- Date: Wed, 15 Jul 2009 00:24:56 -0500
>cmake .. -G "Visual Studio 9 2008" -DCMAKE_BUILD_TYPE=Profile -DWANT_ALLOW_SSE=off
Gives this at the end (repeated many times):
~~~
Missing variable is:
CMAKE_C_FLAGS_PROFILE
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_EXE_LINKER_FLAGS_PROFILE
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
~~~
It still seems to create a usable project file.
Also, profile builds use /MT (static runtime) instead of /MD (dll). Is
there any reason for that? It makes it incompatible with most third
party add-ons.
Finally, is there a way to enable /MT instead of /MD via a
configuration to cmake in case one wants to avoid a dependency on the
MSVC dlls?
--
Matthew Leverton