[CMake] How to use Cmake for WIN32 and WINCE project both?
chenjin263 at 263.net
chenjin263 at 263.net
Tue Nov 15 01:26:26 EST 2005
Hi,
CMake(2.2) can be used to configure the build very well if they are
built on different platform, and of course targeting at different
platform. But I cannot get out of my way to configure a project
targeting at WIN32 and WINCE both. (Nmake or make generator)
I have no .NET 2005. Is there any chance to get a set of CMakeLists.txt,
which can generator Nmake/Make makefiles for targets on WIN32 and WINCE
either. That means I can do this:
>cmake -DWIN32 -G "NMake Makefiles" ../MySrc
for makefiles building exe running on WIN32, and
>cmake -DWINCE -G "NMake Makefiles" ../MySrc
for makefiles building exe running on PDA(WINCE).
It is prefered that discremination can be posponted when nmake runs. I
means: I can use cmds "nmake TARGET=WIN32 or nmake TARGET=WINCE" to do
the same job.
I installed "VS.NET 2003" and "EVC+PPC2003 SDK"
Can anyone give any hint?
Jim Chen
jim.chen at kingtrust.com.cn
More information about the CMake
mailing list