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.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to