ntdll.dll'
> 'helloDemo.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
> The program '[0x808] helloDemo.exe: Native' has exited with code 0 (0x0).
Do you have any idea what I am doing wrong! I though setting Build_type to
debug was enough!
The st
Hello,
Is there a way to set the "Inherited Project Property Sheets" attribute
with CMake when generating a Visual Studio project ?
Thanks,
--
Ben.
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/o
as wondering if someone has a way to solve this problem.
Another simple question is:
if it is possible to check that the software is already installed, and
select repair or uninstall (like other installer) if want to use a more
recent version?
--
Benoit RAT
www.neub.co.nr
___
Hello,
Is there any way to know if my code is running script mode (cmake -P) or
normal mode ? I wanna do something like this:
if (CMAKE_IS_RUNNING_IN_SCRIPT_MODE)
# do some special stuff
else()
# do the normal stuff
endif()
Thank you,
--
Ben.
_
On 2010-05-05 10:22, Michael Wild wrote:
# prefix and suffix elements
> foreach(l ${list_name})
>list(APPEND ${list_name}_TMP ${prefix}${l}${suffix} )
> endforeach()
You also have an error in your foreach, it should be:
foreach(l ${${list_name}})
--
Ben.
___
On 2010-05-03 15:00, Clinton Stimpson wrote:
On Monday 03 May 2010 12:42:58 pm Benoit Thomas wrote:
Hello,
Is it possible to do something like this (sorry if there are typos):
function (bar v scope)
set (v 1 GRAND_PARENT_SCOPE)
endfunction()
function (foo v)
bar (${v
On 2010-05-03 15:19, Alexander Neundorf wrote:
On Monday 03 May 2010, Benoit Thomas wrote:
function (foo v)
bar (${v} PARENT_SCOPE)
endfunction()
You could have bar() use PARENT_SCOPE to set it in a variable in bar(), which
could then itself set it to PARENT_SCOPE.
Would that
Hello,
Is it possible to do something like this (sorry if there are typos):
function (bar v scope)
set (v 1 GRAND_PARENT_SCOPE)
endfunction()
function (foo v)
bar (${v} PARENT_SCOPE)
endfunction()
foo (v)
message ("${v} == 1")
If it's not possible, I'll go with global variables. Curre
On 2010-04-20 03:27, Michael Hertling wrote:
On 04/19/2010 10:07 PM, Benoit Thomas wrote:
I'm using an external library which is already compiled. I have wrapped
the library in a MyLib.cmake and use it in cmake as an imported library.
It works fine, but since the include line
Hello,
I'm using an external library which is already compiled. I have wrapped
the library in a MyLib.cmake and use it in cmake as an imported library.
It works fine, but since the include line uses relative path, it changes
from projects to projects and in some case it looks just wrong.
I w
_
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jack...@bluequartz.net
BlueQuartz Software Dayton, Ohio
On Apr 1, 2010, at 2:52 PM, Benoit Thomas wrote:
Hello,
I'm trying to find a work around since target_link_l
Hello,
I'm trying to find a work around since target_link_libraries cannot be
used per-configuration. I know that out-of-build could solve my problem,
but my team is currently migrating from Visual Studio to cmake, so I
need something which "feel" more like Visual Studio.
My current project
is:
cmake version 2.8.1
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/davidcole/Desktop/xyz/build
You are correct: using "NONE" in the project statement should (and
does for me) prevent the "compiler works" testing.
HTH,
David
On Tue, Mar
Hello,
I'm trying to prevent cmake for looking for a valid compiler (since it
currently doesn't find the appropriate compiler and we use cmake to
generate visual studio solutions).
I've tried using project (name NONE) but it doesn't seems to work; I
also tried other combination like project
ver)
if(WIN32)
set(TARGET_DIR ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Debug)
set(PREREQ "")
get_prerequisites(${TARGET_DIR}/${EXECNAME}.exe" PREREQ 0 1 ${TARGET_DIR}
"")
message(STATUS "PREREQ=${PREREQ}")
endif(WIN32)
Thanks,
--
Benoit RAT
www.neub.co.nr
__
Hello,
I tried to order the book from Amazon but it still unavailable there; do
you know when it will be possible to order it from Amazon ?
Thanks,
Ben.
On 2010-03-19 13:53, Bill Hoffman wrote:
Eric Noulard wrote:
Is there really nothing you can to to lower the price of the shipping
for eu
on to disable it, or override this behavior.
I hope this explain it better (I'm still new to cmake).
Thank you,
Ben.
On 2010-03-22 04:52, David Cole wrote:
On Fri, Mar 19, 2010 at 5:28 PM, Benoit Thomas
mailto:benoit.tho...@gameloft.com>> wrote:
Hello,
I have the following dir
Hello,
I have the following directory structure
root
|--- project A
|--- project B
Project A & B both have their cmakelists.txt file
Root has a cmakelists.txt file which does add_subdirectory for project A
and B
When I generate the tree in visual studio, I have a solution wi
Hi,
Thanks for the answer, I'll use target_link_libraries for my dependency
problem.
For the multiple add_library, someone else had the same problem (and
explain it better than I did), and his solution also worked for me :)
Ben.
On 2010-03-11 09:42, Matt McCormick wrote:
add_subdirect
Hello,
I have 3 projects, one library and 2 executables. Both executables
depends on the library.
The library is legacy stuff, and I don't need to fully convert it to
cmake so the cmakelists. txt looks something like this:
add_library(mylib STATIC IMPORTED)
set_target_properties(mylib PROPE
Hello,
Are there equivalent to link_directories & include_directories which
would require a target ?
Thanks,
Ben.
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please
I knew I was missing something :)
Thanks for the answers, work perfectly now !
Ben.
On 2010-03-09 12:27, Benoit Thomas wrote:
Hello,
I have a library which is a Visual Studio project only (which will be
converted to cmake in the future).
In my current cmake project, I try adding this
Hello,
I have a library which is a Visual Studio project only (which will be
converted to cmake in the future).
In my current cmake project, I try adding this library using the
following code:
set (IMPORTED_LOCATION "../farfaraway/lib")
add_library ("mylib" STATIC IMPORTED)
When I run cmak
This is perfect,
Thank you !
On 2010-02-18 17:15, Tyler Roscoe wrote:
On Thu, Feb 18, 2010 at 05:02:38PM -0500, Benoit Thomas wrote:
I am trying to do something like this:
function (FOO_DEBUG)
...
endfunction (FOO_DEBUG)
function (FOO_RELEASE)
...
endfunction (FOO_RELEASE
Hi,
I am trying to do something like this:
function (FOO_DEBUG)
...
endfunction (FOO_DEBUG)
function (FOO_RELEASE)
...
endfunction (FOO_RELEASE)
foreach (CONFIG ${CMAKE_CONFIGURATION_TYPES})
FOO_${CONFIG}
endforeach(CONFIG)
But naturally, it doesn't work :(
Is there a way to make
Hi,
I am trying to overwrite some variables in the cache (without editing
the cache); it works well for variables like CMAKE_CXX_FLAGS, but I
cannot overwirte the CMAKE_CONFIGURATION_TYPES variable. Is there a way
to do this without having to edit the cache ? (or modifying it the first
time t
nstall only the client (by default) and I have two shortcuts (client and
server)
So i think it is just a simple bug but i don't know how to correct it :(
Someone can help me !
Regards,
--
Benoit RAT
www.neub.co.nr
___
Powe
nd my variable stay unchanged! Someone can tell me where i did wrong
(I think is using cache variable, but i don't really know how to handle it).
Thanks in advance for your help!
--
Benoit RAT
www.neub.co.nr
___
Powered by www.kitware.com
Visit oth
library x7sxml is created like this:
set(LIBNAME "x7sxml")
add_library(${LIBNAME} ${SRC_FILES} ${HDR_FILES})
target_link_libraries(${LIBNAME}
"D:/projects/builds/CvS400/ec_mingw/3rdparty/lib/libtinyxml.a")
thanks
--
Benoit RAT
www.neub.co.nr
very stupid things but i'm not microsoft friendly and it is
the first time i use the MSVC compilator
--
Benoit RAT
www.neub.co.nr
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensour
hope here is a good
place !!
--
Benoit RAT
www.neub.co.nr
___
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
tagfile.
This is just an idea but i never try it because i'm generating documentation
in one step because my libraries have linear depencies.
libcore > no depency
libio > depend on libcore
main > depend on libio and libcore.
--
Benoit RAT
www.neub.co.nr
On Sat, Mar 28, 2009 at 4
Okay, it's an easier way to do this
If think you should put this in the FAQ for next time.
--
Benoit RAT
www.neub.co.nr
On Fri, Mar 27, 2009 at 1:25 PM, Mike Jackson
wrote:
> Go back to yesterday and look for the thread "[CMake]
> execute_process() and writing output to
hen i call it I have this error:
D:\projects\CvS400\build>"C:\Archivos de programa\CMake 2.6\bin\cmake.exe"
-E time runcommand.cmake
%1 no es una aplicación Win32 válida
-
If someone know a good way to perform this operation it would be very happy.
--
Benoit RAT
www.ne
encv and not
/opt/opencv/1.1.0/include/opencv
even if both files /opt/opencv/1.1.0/include/opencv/highgui.h
and/usr/include/opencv/highgui.h exist in my path.
--
Benoit RAT
www.neub.co.nr
___
Powered by www.kitware.com
Visit other Kitware open-source proj
structure.
I looked for options and even using REGEX to strip the path (without
an success).
How can I do it ?
Thanks,
Benoit
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource
Hello,
How can I copy external resources in the MACOSX bundle.
I haven't seen any command to do this.
I also need to change paths in a config file depending on the
packaging (MACOSX or Linux or Windows).
Is it possible to call some external program like sed ,awk or a custom
script in CMAKE ?
Tanks,
adding -mmacosx-version-min=10.4 to the CMAKE_CXX_FLAGS, it worked.
But I had to change the compiler from c++ to g++.
On Feb 26, 2009, at 4:17 PM, Sean McBride wrote:
On 2/26/09 4:07 PM, Benoit Callebaut said:
I end up with the following message:
Linking CXX executable
/OgreSDK/OgreSDK/Dependencies/lib/Release/ -I/Developer/
SDKs/OgreSDK/OgreSDK/Samples/include/ -L/Developer/SDKs/OgreSDK/
OgreSDK/Dependencies/ -l ois -framework Carbon -framework Ogre -
framework IOKit CubeMapping.cpp
Where can this problem come from ?
Benoit Callebaut
today date")
ENDIF(PERL_FOUND)
ENDMACRO (TODAY)
Then in the CMakeList.txt I have call
INCLUDE(GetTime)
TODAY(VAR)
MESSAGE( STATUS "TODAY is ${VAR}")
When i call the makefile I have:
-- (in) VAR
-- Correctly setted
Someone can tell me how to use a macro to retrieve a r
4.5)
ELSE(EXISTS "C:/MinGW/include")
MESSAGE(STATUS "MinGW include dir not found")
ENDIF(EXISTS "C:/MinGW/include")
ENDIF(MINGW)
This hack works correctly but it is not the best way to handle this problem.
I wanted to know if other people have th
put path.
Using the target all should be sufficient to generate the executable and the
new dll in the same directory.
Thanks,
--
Benoit RAT
www.neub.co.nr
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware
Hi list,
On Fri, Aug 11, 2006 at 12:18:24PM -0700, Abe Stephens wrote:
>
>
>
>
>
>
> Thanks for your directions, I'm experiencing one problem however:
>
Yeah, that's HTML. Would you mind not using HTML in your messages ? It's actualy
considered a good practice to write plain text message
Hi,
I'm working on windows and I have a CMake
project
Is there an installation mode on windows like the
linux equivalent make install ?
Benoit
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
- Original Message -
From: "William A. Hoffman" <[EMAIL PROTECTED]>
To: "Benoit Regrain" <[EMAIL PROTECTED]>; "Mathieu
Malaterre" <[EMAIL PROTECTED]>;
Sent: Friday, January 13, 2006 2:26 PM
Subject: Re: [CMake] CMake + VS Toolkit 200
clude\Win64\mfc
LIB : c:\Program Files\Microsoft Platform SDK\Lib;c:\Program Files\Microsoft
Visual Studio .NET 2003\VC7\lib;c:\Program Files\Microsoft Visual C++
Toolkit 2003\lib
PATH : c:\Program Files\Microsoft Platform SDK\Bin;c:\Program
Files\Microsoft Visual Studio .NET 2003\Vc7\bin
Benoi
my problem ?
-----Benoit
RegrainIngénieur d'études CNRS (Creatis)email : [EMAIL PROTECTED]phone
: (+33) (0) 4.72.43.82.58fax : (+33) (0) 4.72.43.85.26address
: CREATIS - CNRS UMR5515 INSA - Bâtiment Blaise
Pascal 7, avenue Jean Capelle F - 6962
47 matches
Mail list logo