On Tuesday 14 Jun 2011 9:46:56 AM jianhua wrote:
> Try cross compiling using CMAKE, target tool chain is ARM RVCT4, got errors
> on both Windows and Ubuntu.
>
> Please help, thanks in advance.
>
> 1. On Ubuntu.
> ADD_EXECUTABLE(hello main.c)
> Fatal error: C3900U: Unrecognized option '-rdynamic'
Try cross compiling using CMAKE, target tool chain is ARM RVCT4, got errors on
both Windows and Ubuntu.
Please help, thanks in advance.
1. On Ubuntu.
ADD_EXECUTABLE(hello main.c)
Fatal error: C3900U: Unrecognized option '-rdynamic'.
ADD_EXECUTABLE(hello SHARED main.c)
Fatal error: C390
On 06/11/2011 02:08 AM, Campbell Barton wrote:
> To follow up on this, I tested this on a test project and found the
> problem was in my own macro which wasn't initializing an include list.
> So only the set(CMAKE_INCLUDE_SYSTEM_FLAG_C "-isystem ") remains
> which should be fixed in CMake but is e
Hi,
I am creating my python modules like:
VTK_WRAP_PYTHON3 (vtkmyFilteringPython FilteringPython_SRCS "${SOURCES}")
ADD_LIBRARY (vtkmyFilteringPythonD ${FilteringPython_SRCS})
TARGET_LINK_LIBRARIES(vtkmyFilteringPythonD vtkmyFiltering
vtkFilteringPythonD vtkImagingPythonD ${LIBS_VTKMYFILTER
On Mon, Jun 13, 2011 at 3:16 PM, Rolf Eike Beer wrote:
> Am Montag, 13. Juni 2011, 13:02:34 schrieb John Drescher:
>> I use code like the following to append a version to my applications
>> based on the current svn rev.
>>
>> FIND_PACKAGE(Subversion)
>> IF(Subversion_FOUND)
>> Subversion_WC_
Am Montag, 13. Juni 2011, 13:02:34 schrieb John Drescher:
> I use code like the following to append a version to my applications
> based on the current svn rev.
>
> FIND_PACKAGE(Subversion)
> IF(Subversion_FOUND)
> Subversion_WC_INFO(${PROJECT_SOURCE_DIR} Project)
> MESSAGE("Current re
On Fri, Jun 10, 2011 at 11:02 AM, Jason Gochanour wrote:
> I think you may be right. CMAKE_INSTALL_CONFIG_NAME doesn't contain a
value
> when I run a fresh build of the PACKAGE project in Visual Studio.
>
> If it isn't possible to tell CPack what build configuration the user
chooses
> in the IDE
Hello all,
I'm using CMake 2.8.4 and am seeing an odd differenc between static
and shared libraries in regard to the LINK_FLAGS property. In
particular, I'm enabling "Whole program optimization" in Visual Studio
2010, which is done by add /GL as a compiler flag and /LTCG as a
linker flag for the r
I use code like the following to append a version to my applications
based on the current svn rev.
FIND_PACKAGE(Subversion)
IF(Subversion_FOUND)
Subversion_WC_INFO(${PROJECT_SOURCE_DIR} Project)
MESSAGE("Current revision is ${Project_WC_REVISION}")
Subversion_WC_LOG(${PROJE
On Monday 13 June 2011, Gabriel Nützi wrote:
> Hello
>
> I have the following stupid problem with cmake:
>
> I want
>
> CMAKE_BUILD_TOOL or the deprecated CMAKE_MAKE_PROGRAM to be set to
>
> /usr/bin/make -j12(for multithreaded build)
>
> how can we pass arguments to the build tool (m
On 6/13/2011 11:02 AM, Szilárd Páll wrote:
I would also very much like to see some form of grouping to be
possible in ccmake. Right now, the only way to avoid clutter is to
mark the large majority of the variables as advanced and keep only the
ones that would be used frequently used and this is s
Hello
I have the following stupid problem with cmake:
I want
CMAKE_BUILD_TOOL or the deprecated CMAKE_MAKE_PROGRAM to be set to
/usr/bin/make -j12 (for multithreaded build)
how can we pass arguments to the build tool (make)?
in eclipse that does not work because in the .cprojec
I would also very much like to see some form of grouping to be
possible in ccmake. Right now, the only way to avoid clutter is to
mark the large majority of the variables as advanced and keep only the
ones that would be used frequently used and this is still just a
half-baked solution.
One neat wa
I agree, I much prefer it too. But the bigger issue for us is that our builds
are on remote machines that we cannot X-forward, so the gui isn't even an
option.
We've been hearing people in our lab say "It would be nice if..." and so I
thought I'd throw it out there to see what others thought a
On 06/13/2011 11:01 AM, Alexander Neundorf wrote:
> On Friday 10 June 2011, Tim Gallagher wrote:
>> Hi all,
>>
>> We have a code that has a lot of options to enable/disable at compile time,
>> and we'd also like to use ccmake to generate input files to run the code
>> (possibly several hundred opti
I would like to know if there is a list of all variables defined by cmake
internally. ie. variables created by the various cmake supplied platform files
etc. and internal to the application but not by the various find modules etc.
that are explicitly invoked.
I would like to know for each varia
Many thanks!
Dominik
On Mon, Jun 13, 2011 at 10:57 AM, Alexander Neundorf
wrote:
> On Thursday 09 June 2011, Michael Hertling wrote:
>> On 06/09/2011 03:34 PM, Dominik Szczerba wrote:
>> > Hi,
>> >
>> > I have a big project with several subfolders. In one subfolder's cmake
>> > file I have e.g.
>
On Friday 10 June 2011, Benjamin Peterson wrote:
> Hi,
> I'm trying to set some special flags for Sun's compiler. Does cmake set a
> flag for it like it does for MSVC or COMPILER_IS_GNUCC?
You can always test ${CMAKE_CXX_COMPILER_ID} (or CMAKE_C_COMPILER_ID). It has
the value which is printed dur
On Friday 10 June 2011, Tim Gallagher wrote:
> Hi all,
>
> We have a code that has a lot of options to enable/disable at compile time,
> and we'd also like to use ccmake to generate input files to run the code
> (possibly several hundred options combined). But the way the curses gui
> organizes th
On Thursday 09 June 2011, Michael Hertling wrote:
> On 06/09/2011 03:34 PM, Dominik Szczerba wrote:
> > Hi,
> >
> > I have a big project with several subfolders. In one subfolder's cmake
> > file I have e.g.
> >
> > INSTALL(TARGETS test DESTINATION ${CMAKE_INSTALL_PREFIX} CONFIGURATIONS
> > RELEA
20 matches
Mail list logo