[CMake] specify solution name with --build

Anton Sibilev anton.sibilev at gmail.com
Wed Oct 26 06:03:47 EDT 2011


Seem I've found issue, in CMakeCache.txt I have two targets:

//Value Computed by CMake
Project_BINARY_DIR:STATIC=C:/_work/test_build
//Value Computed by CMake
Project_SOURCE_DIR:STATIC=C:/_work/test

//Value Computed by CMake
test_BINARY_DIR:STATIC=C:/_work/test_build
//Value Computed by CMake
test_SOURCE_DIR:STATIC=C:/_work/test

May be that is why I have problem with --build? But I use project( "test" )
function only one time.. How I can remove this from projects generation?

2011/10/26 Anton Sibilev <anton.sibilev at gmail.com>

> Hello! Can you please help me?
> I use such cmdline to run build with CMake - "cmake-2.8.6\bin\cmake --build
> folder_with_solution", where "folder_with_solution" is folder with
> some_name.sln file.
> And what I have is:
>
> The following files were specified on the command line:
>
>         Project.sln
>
> These files could not be found and will not be loaded.
>
> Can I somehow specify the name of solution/project file? On linux --build
> works fine with Makefiles.
> Thanks!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111026/72ac0e7a/attachment.htm>


More information about the CMake mailing list