Hello everybody!
Sorry for the late in reply. I had a 'miss configured' filter dropping all
my mails.
Thanks for all replies sent. All of them have great hints on how to solve
this problem.
But, after the Thielemans reply, i decided that the build type must be
selected from inside the Visual Stud
> 2. Do batch building. I do this option. Look at the cmake --build command
>
Here is an example of this for one of my current projects (not exactly
what I do but close enough):
rem configure
pushd .
cd X:\64Bit\VC.100\Qt\StudyManager
cmake X:/CMakeBased/Qt/StudyManager
popd
rem build the nsis p
I will thrown my 2 cents in for this. I also use a Command prompt to run CMake
on Windows and I generate Visual Studio projects. If I want to do a build and
not edit the code I do the following:
cmake.exe ../
msbuild /p:Configuration=Release MyProject.sln
msbuild /p:Configuration=Release PACKAGE
> The SLN solution contains all possible build-types. The user just have to
> select which one they want (i.e. in Visual Studio, not cmake)
>
Continuing on this subject. The default configuration in Visual Studio
is Debug so that is why debug is selected.
There are many ways around this:
1. You
gt; Sent: 24 February 2012 17:40
> To: cmake@cmake.org
> Subject: [CMake] Can't generate Release build in Visual Studio 9
>
> Hello fellows!
>
> I'm using CMake to compile and CPack to pack my codes.
>
> The Linux version is working very well. But now i'm porting
Hello fellows!
I'm using CMake to compile and CPack to pack my codes.
The Linux version is working very well. But now i'm porting the
CMakeLists.txt to Windows and i'm having some problems:
My main problem is: how can i set the build type in Visual Studio to
"Release" instead "Debug"?
I've alre