Hi,
I just stumbled across the OBJECT flag in add_library. Now I wonder
whether it also works for windows builds with dlexport and dlimport
flags attached to symbols. Based on the documentation it seems like
object files are built immediately. Is it possible that an object
library is used in a dyna
Hi,
2011/7/13 Daniel Pfeifer :
> 2011/7/13 Andreas Pokorny
>> [...]
>> add_library(foo )
>> target_include_paths(foo include/foo )
>> target_include_targets(foo bar)
>
> target_include_targets would not even be required, target_link_libraries
> could hand
ar include/bar src/mydirtystuff)
target_include_targets(bar foo)
# now since we do not want foo or any other target to access src/mydirtystuff:
set_target_properties(bar PROPERTIES INCLUDE_INTERFACE_PATH include/bar )
The existing include_directories command could "call"
target_include_pa
Hi there,
2009/4/19 Piotr Dobrogost :
> [...]
> Would it be a good idea to make cmake be able to find VS even if these
> environment variables weren't set? Maybe using registry or just looking
> at default installation folder?
It is not only about finding visual studio but also about configuring
Hi there,
2009/4/16 Andreas Pokorny :
> [...]
> Ok the patch was now modified that only a single platform
> configuration is generated, and the Platform is selected through the
> generator. But you still have to manually select the compiler, either
> through a toolchain file or th
s been uploaded to: http://cmake.org/Bug/view.php?id=7919
kind regards
Andreas Pokorny
___
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
pts?
kind regards
Andreas Pokorny
___
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_FAQ
found in the
WCE.VCPlatform.config.xml, or do you generate a project file that
works for all?
kind regards
Andreas Pokorny
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messa
? At first glance they do not seem to be
Windows Mobile/CE specific?
Is this maybe related to unresolved external symbol:
__security_check_cookie error messages, that I just got while writing
this email.
kind regards
Andreas Pokorny
___
Powered by www
2009/4/15 Andreas Pokorny :
> Hi Clemens,
>
> Finally.. Here is an updated patch that integrates both WinCE patches:
> http://cmake.org/Bug/view.php?id=7919
>
>
> With a small bug ... $(INSTRUCTIONSET) and $(ARCHFAM) and $(_ARCHFAM_)
> is not appended to the C flags,
Hi Clemens,
Finally.. Here is an updated patch that integrates both WinCE patches:
http://cmake.org/Bug/view.php?id=7919
With a small bug ... $(INSTRUCTIONSET) and $(ARCHFAM) and $(_ARCHFAM_)
is not appended to the C flags, but only C++ flags.
kind regards
Andreas Pokorny
VS9 SDK Generator factory method
with the respective platform string
attached.
kind regards
Andreas Pokorny
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messag
Hi,
2009/4/15 Clemens Arth :
> [...]
> In my case for example, I build it for Win32 and Windows Mobile 5 in
> separate directories which works great. If you install an SH4 SDK and an ARM
> SDK, preconfigure the cache files and configure/build in separate
> directories with different settings it sh
Hello,
2009/4/15 Clemens Arth :
> Hi again,
>
> I've installed the 2008 Express version, and it's not possible to install
> any Mobile SDK afterwards. Microsoft supports Smat Devices in every version
> except for the Express one. Even if you hack the msi file to install (not
> checking if the righ
library component_2 has undefined symbols defined in
component_1, you have to swap these two libaries in the
TARGET_LINK_LIBRARIES command.
kind regards
Andreas Pokorny
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://w
CMAKE_{EXE,SHARED}_LINKER_FLAGS. 64kb should be enough for most people
:).
kind regards
Andreas Pokorny
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-t
2009/4/14 Andreas Pokorny :
> [...]
>
> Configuring our project fails during the CMakeTestCCompiler.cmake
> tests, because it tries to execute the generated project files with
> VCExpress wich has no SDK configured - and I doubt that it supports
> multiple SDKs at all. I am
ding a static library
twice - with and
without tracing. And here we modify the COMPILE_FLAGS of the whole target using
SET_TARGET_PROPERTIES.
kind regards
Andreas Pokorny
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.
/view.php?id=7919
Configuring our project fails during the CMakeTestCCompiler.cmake
tests, because it tries to execute the generated project files with
VCExpress wich has no SDK configured - and I doubt that it supports
multiple SDKs at all. I am investigating that right now.
kind regards
Andreas
igger the build?
( To execute the test you would need the non-free version of vs2005 or newer
and at least one CE SDK installed - and maybe have some env vars set)
kind regards
Andreas Pokorny
___
Powered by www.kitware.com
Visit other Kitware open-source
Hi,
Any news from the WinCE Support front?
There are four patch tickets in mantis:
http://cmake.org/Bug/view.php?id=7919
http://cmake.org/Bug/view.php?id=8486
http://cmake.org/Bug/view.php?id=8102
http://cmake.org/Bug/view.php?id=7434
kind regards
Andreas Pokorny
Hello,
2009/3/20 ankit jain :
> Hi all,
>
> I am creating a library through add_library command of java files.
> Now i want to link it with some jar files which contain some classes which
> is needed to build that library.
>
> target_link_libraries is not working in this case.
What do you mean by
+--- progress.make
Is there a way to get rid of the path element src/ and the duplicate
path elements com/foo/bar?
If not .. could you give me a starting point in the cmake source where
the Java stuff is handled?
regards
Andreas Pokorny
___
Powered by
ot understand why.. but DEFINE_SYMBOL did not work, but
COMPILE_FLAGS -DUSE_TRACER
did. So SET_TARGET_PROPERTIES is the sledgehammer for getting it done :)
kind regards
Andreas Pokorny
___
Powered by www.kitware.com
Visit other Kitware open-s
Hi,
We have a platfrom abstraction layer which uses a trace system. But
one of the trace backends also uses the platform abstraction for
network communication. So we want to build the required platform libs
twice with and without tracing. Now I thought I can do the following
with cmake:
PROJECT(Pa
nd regards
Andreas Pokorny
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
ly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (PROJECT)
-- Configuring done
E:\work\build>
==
Any ideas what I am missing here?
What is OLDNAMES.lib?
I used the platform files posted at: http:/
Hello,
2008/11/14 ami guru <[EMAIL PROTECTED]>:
> [...]
> /usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libftgl.a(FTFont.o):
> relocation R_X86_64_32S against `vtable for FTFont' can not be used when
> making a shared object; recompile with -fPIC
> /usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../.
for the temporary project?
regards
Andreas Pokorny
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Hello,
I am sorry that it took me so long. I made an entry in mantis:
http://public.kitware.com/Bug/view.php?id=7919
2008/10/17 Alexander Neundorf <[EMAIL PROTECTED]>:
> Can you please post it again
> 1) as a patch
> 2) for the beginning without the modifications to the generators
>
> So we can ge
relies
on the existance of dumpbin.exe (which is searched quite extensively) does not
break existing setups.
regards
Andreas Pokorny
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Hello Clemens,
2008/9/30 Clemens Arth <[EMAIL PROTECTED]>:
> [...] I further modified your WinCE.cmake(-cl) configuration to
> WM5.cmake(-cl) to contain additional flags needed. Also a cached variable
> PLATFORM_SDKS is used that selects only those platforms from the set of all
> platforms install
Hi,
Is the code attached to this thread the most recent source code for
WinCE and Windows Mobile
support?
kind regards
Andreas
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Hello Clemens,
I still try to get some time slot to try your patches here. Since we
do not have that many 2005
licenses, I cannot do that as a kind of submarine project :).
2008/9/30 Clemens Arth <[EMAIL PROTECTED]>:
> Andreas,
>
> I had a look at your modified files and, like the old ones, they
Hello,
2008/9/19 Clemens Arth <[EMAIL PROTECTED]>:
> [...]
>
>
> I completely agree with you about the issue of adding and removing
> individual files within a single solution, and I think the entire hack is
> not a good solution. I would also prefer using an individual cross compile
> configurati
Hi,
I am still wondering how this all fits together.
The patch you are working on, will generate a visual studio file that
contains build rules for all installed SDKs.
But when generating for nmake we will have a cross compile
configuration for a single SDK. How can we ensure
that both things work
HEADERINFO})
SET(CMAKE_CL_MACHINE_TYPE ${CMAKE_MATCH_1})
MESSAGE(STATUS "${CMAKE_CL_MACHINE_TYPE}")
Is there a better way?
Andreas
2008/9/17 Andreas Pokorny <[EMAIL PROTECTED]>:
> Hi,
> I am about to do that right now. I just discovered that there is a
> tool called dumpbim
too.
What happened to the two windows SDK patches, that made the visual
studio generator create files with selectable
SDKs? Are there in the queue of patches to apply to cmake, or still
not ready yet?
kind regards
Andreas Pokorny
2008/8/5 Alexander Neundorf <[EMAIL PROTECTED]>:
> On Frid
nd regards
Andreas Pokorny
2008/8/9 Christopher Harvey <[EMAIL PROTECTED]>:
> Hi,
> I read that gcc exports all symbols by default where as with msvc one has to
> put something like dllExport in the symbols to be exported. I'd like to have
> the same symbols be exported on bo
MyLib_SOURCE_DIR}/mylib.map -Wl,--strip-all")
Then stripping the library should remove all unnecessary symbols. Note
that you have to invest some time maintaining the symbols, and that you
probably have to mangle the C++ symbols properly. (You could do that
with "for x in ${PUBLIC_CLASS
Hello,
We are building for Win32, WinCE, QNX, Linux and hopefully soon also
Symbian, with mostly
cross compile setups using cmake. But note, that right now cross
compiling only works
for gnu make and nmake. Someone on this list also managed to extend
the Visual Studio
generator to support installe
Hello,
>From my point of view as a user, it would be sufficient if the cmake
(G)UIs would
support it as a kind of combobox. Additionally to that cmake or a macro could
do the validation during the generation step. I only had that need for
a little GUI
thing. Our software can be configured in many
get?
Why is this check done inside cmake itself?
kind regards
Andreas Pokorny
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Hi there,
I would like to point at my feature wish:
http://www.vtk.org/Bug/view.php?id=7313
Opinions?
kind regards,
Andreas Pokorny
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
} )
nearly:
MACRO( TEST_SET variable value )
SET(${variable} ${value} )
ENDMACRO(TEST_SET)
regards
Andreas Pokorny
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
SET( CMAKE_SYSTEM_CXX_COMPILER /absolute/path/to/compiler )
> SET( CMAKE_FIND_ROOT_PATH /absolute/path/to/compiler/tools )
>
That should be
SET( CMAKE_C_COMPILER /absolute/path/to/compiler )
SET( CMAKE_CXX_COMPILER /absolute/path/to/compiler )
kind regards
Andreas Pokorny
_
we will invest more time to get everything setup in a clean way.
kind regards
Andreas Pokorny
2008/7/6 Alexander Neundorf <[EMAIL PROTECTED]>:
> On Monday 30 June 2008, Andreas Pokorny wrote:
>> Hi,
>>
>> Why is there a Windows-cl.cmake and no Window-msvc.cmake?
>
Is any setting from the toolchain file then applied to the project
configuration?
What is the SDK name in this case?
Would it be possible to read the SDK name from the toolchain file, or maybe
a list of SDK names?
>
> [...]
>
kind regards
Andreas Pokorny
___
Hello,
I have only tried with NMake yet.
kind regards
Andreas Pokorny
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Hi Clemens,
2008/7/1 Clemens Arth <[EMAIL PROTECTED]>:
> Hi again,
>
>> I took a look at your files and I think you have done a pretty good job
>> and that should work out well. For some reason I had to force the compiler
>> setting to be MSVC, because cmake did not set it automatically.
>
> I als
there already a cmake function to do that?
kind regards
Andreas Pokorny
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
changes.
kind regards
Andreas Pokorny
2008/6/29 Alexander Neundorf <[EMAIL PROTECTED]>:
> On Saturday 28 June 2008, Andreas Pokorny wrote:
>> Hi there,
>> We have just started getting WinCE platform files to work. I have worked
>> around the /system:console issues ment
for
that you will have to wait until Monday.
What is the difference between all these different windows CE systems?
I.e. is windows
mobile 5 the same as windows ce 5?
kind regards
Andreas Pokorny
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org
definitions, or platform aware
cmake scripts, there should be a list of common values for the
CMAKE_SYSTEM_PROCESSOR and other similar variables.
kind regards
Andreas Pokorny
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
to-qnx6
TOOLCHAIN:
Seems like get_filename_component takes the first dot to determine the
extension!
kind regards
Andreas Pokorny
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
(which does not exist
in that directory, only several ar binaries with the paltform prefix exist).
As a workaround I could change the variable CMAKE_CXX_CREATE_STATIC_LIBRARY
and hardcode the filepath to ar there.
kind regards
Andreas Pokorny
2008/5/9 Alexander Neundorf <[EMAIL PROTECTED]>:
>
&
TH} ${QNX_TARGET_WIN_PATH})
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
EOF
Now when running with the "Unix Makefile" generator the CMAKE_AR seems
to be empty or undefined.
The
Hello,
I have the same requirement. I would like to attach copy commands to targets
built in different directories. I want to copy dlls/pdb/so -files into
other directories
that contain test cases which are supposed to use the libraries.
I have a "clean" solution that only works in NMake and gnuma
CREATE_SHARED_LIBRARY}")
I hope that helps.
regards
Andreas Pokorny
2008/4/23, Ivan Chupahin <[EMAIL PROTECTED]>:
> Hi, everyone!
> I once wrote here about problem of change VS linker link.exe to other
> linker, may be now someone can help solve it?
>
Hello,
I beg your pardon, I just saw that the problem with the exception setting is
a known issue currently worked on. Will look into mantis next time I bump
into an issue.
kind regards
Andreas Pokorny
2008/4/17, Andreas Pokorny <[EMAIL PROTECTED]>:
> Hello,
> I have problems re
d "no exceptions".
After disabling RTTI in the IDE RuntimeTypeInfo="false" showed up. I believe
RuntimeTypeInfo="true" is the default.
How is all this supposed to work with cmake?
I am using cmake-2.4-8.
kind regards
Andreas Pokorny
_
ld be cool to have a dedicated
field to enter the toolchain file. Since it has to be set prior to running
cmake.
kind regards
Andreas Pokorny
platform_wince_evc_armv4i.cmake
Description: Binary data
___
CMake mailing list
CMake@cmake.org
http://www.cmake.
like library names
There should be a cleaner way to do that.
Any ideas?
kind regards
Andreas Pokorny
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
63 matches
Mail list logo