[CMake] Making a Visual Studio project for Windows Mobile
knight666
knight666 at gmail.com
Thu Apr 15 16:57:32 EDT 2010
Hi,
so far, my night has been extremely frustrating, trying to learn CMake.
However, I'm slowly getting there. There are a couple of things bugging me
though:
*1) Additional Library Directories*
I can either have this:
CMake: link_directories ("../../YoghurtGum/bin")
Output:
AdditionalLibraryDirectories="..\..\YoghurtGum\bin\$(OutDir),..\..\YoghurtGum\bin"
Or this:
CMake: link_directories ("${PROJECT_SOURCE_DIR}../../YoghurtGum/bin")
Output:
AdditionalLibraryDirectories="F:\Projects\YG3\Tests\Galaxians..\..\YoghurtGum\bin\$(OutDir),F:\Projects\YG3\Tests\Galaxians..\..\YoghurtGum\bin"
Or this:
CMake: link_directories ("${PROJECT_SOURCE_DIR}/../../YoghurtGum/bin")
Output:
AdditionalLibraryDirectories="..\..\YoghurtGum\bin\$(OutDir),..\..\YoghurtGum\bin"
While what I really want is this:
Output: AdditionalLibraryDirectories="..\..\YoghurtGum\bin"
*2) Setting the platform name*
I haven't been able to set it, but I want it to be "Windows Mobile 5.0
Pocket PC SDK (ARMV4I)" instead of "Win32".
*3) Setting the intermediate directory*
I want to have this:
IntermediateDirectory="intermediate"
instead of this:
IntermediateDirectory="Galaxians.dir\Release"
but nothing seems to work.
*4) Output file*
It should be:
OutputFile="$(OutDir)\$(ProjectName)_debug.exe"
instead of:
OutputFile="F:\Projects\YG3\Tests\Galaxians\bin\Debug\Galaxians.exe"
Any help on any of these issues would be much appreciated.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100415/452d6986/attachment.htm>
More information about the CMake
mailing list