I have a system with several copies of Visual Studio installed.
When I set the generator for "Visual Studio 9 2008" it ends up picking up a
different compiler:
CMAKE_C_COMPILER:FILEPATH=C:/Program Files (x86)/SCE/Common/VSI/bin/cl.exe
I think this is because of the following code in
CMakeDetermi
On Fri, Mar 9, 2012 at 12:34 PM, Bill Hoffman wrote:
> On 3/9/2012 12:21 PM, Steven Wilson wrote:
>>
>> Where does the Ninja generator currently live? Ie which branch in the
>> sources, etc? I am keen to see support for the Ninja generator on
>> Mac/Linux/Windows and would not mind working on
Nothing's changed w.r.t. running ctest via the RUN_TESTS project.
You could always add your own custom target if you want to run ctest
with additional arguments.
HTH,
David
On Wed, Mar 14, 2012 at 3:18 PM, Massaro Alessio
wrote:
> Hi there
>
>
>
> This has been asked before in 2010, but I tho
Hi there
This has been asked before in 2010, but I thought I might check if anything has
changed in CMake v2.8.7.
Is it possible to specify extra flags for CTest when it's invoked by the
post-build script in a Visual Studio RUN_TESTS project?
Adding the following to my main CMakeLists.txt, mai
Hello everyone.
I'm using CMAKE to build Paraview with Visual Studio Express 2010. I'm
having a problem with the generated solution. The problem is that one
of the entries generated for included libraries (the MPI libraries)
should be semi colon separated but it is space separated. The result
of t
I want add library (header file + dll file) to my project. How do I do in
cmake?
--
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
In pre-processing mode GCC doesn't have target filename and has to guess
target name for depfile.
Use -MT to force correct target name.
gcc -c -MMD -o foo.cc.o foo.cc => foo.cc.o:
gcc -E -MMD -o foo.i foo.cc => foo.o:
gcc -E -MMD -MT foo.cc.o -o foo.i foo.cc => foo.cc.o:
-
On Wed, Mar 14, 2012 at 11:38 AM, Alexander Usov wrote:
> Hi,
>
> I'm testing CMake's Ninja generator for our project and have found a bug in
> it.
> The fix is pretty trivial -- just 2-line change.
You can just attach it to your email if it is short. Use
git-format-patch(1). Or you can use gith
Hi,
I'm testing CMake's Ninja generator for our project and have found a bug in it.
The fix is pretty trivial -- just 2-line change.
What is the correct procedure for submitting it?
I have looked at the bug tracker, but it seems to only list released
versions of cmake.
--
Best regards,
Alexan
Hi all,
I have a small problem linking a external library to my project. Here is
an indication of my directory structure.
root (dir)
|- external (dir)
|- external.so (shared library)
|- mylibs (dir)
|-
|- myprog (executable)
In the directory "mylibs" all my source code is locat
project A depend project B. B is library. I want provide project A header
files of project B and dll files in debug and release mode library of
project B. How I do in cmake?
add_definitions("-DQDisplay_export=__declspec(dllimport)")
link_directories(${CMAKE_SOURCE_DIR}/display/build2008/debug)
incl
Please keep the list in the replies so other people may answer.
> actually, I want build my library in debug and release mode with name in
> debug is mylibd.dll and release mode is mylib.dll. can you help me?
set_target_properties(mylib PROPERTIES DEBUG_POSTFIX "d")
Eike
--
Powered by www.kitwa
> how determine build type in cmake like
> if (CMAKE_BUILD_TYPE EQUAL "DEBUG")
> message("debug mode")
> endif (CMAKE_BUILD_TYPE EQUAL "DEBUG")
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/
IF(CMAKE_BUILD_TYPE MATCHES DEBUG)
message("debug mode")
ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)
Kind regards,
Dirk van Meeuwen,
Process Modeling Engineer
Technip Benelux B.V.
Boerhaavelaan 31, PO Box 86
2700 AB Zoetermeer
direct dial: +31 (0)79 3293 843
direct fax : +31 (0)79 3293 700
direc
how determine build type in cmake like
if (CMAKE_BUILD_TYPE EQUAL "DEBUG")
message("debug mode")
endif (CMAKE_BUILD_TYPE EQUAL "DEBUG")
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic a
15 matches
Mail list logo