Bad timing...
Sent from my Xperia by Sony smartphone
Robert Maynard via CMake wrote
As was previously announced, CMake is stopping mailing list usage, and
has transitioned to a Discourse forum
(https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdiscourse.cmake.org&da
Hi all,
I have a system of executables/libraries where all are built with “-static”
(ARM muslc toolchain). However, I have one shared object target which should be
linked dynamically. I.e. I get the error:
“attempted static link of dynamic object `lib/libmy_shared_object.so'”
Ideas on how to en
"llvm-libc++_static". So code generation
and linking now works, however now I need to figure out how to deploy the
program to the android device...
Regards
/R
> -----Original Message-
> From: Robert Bielik
> Sent: den 19 november 2018 12:57
> To: Robert Bielik ; Cmak
projection settings in VS.
Does CMake need an update for this ?
Regards
/R
> -Original Message-
> From: CMake On Behalf Of Robert Bielik
> Sent: den 19 november 2018 12:48
> To: Cmake@cmake.org
> Subject: Re: [CMake] Visual Studio ARM generator
>
> Ok, I'm now
ginal Message-
> From: CMake On Behalf Of Robert Bielik
> Sent: den 19 november 2018 08:21
> To: Cmake@cmake.org
> Subject: [CMake] Visual Studio ARM generator
>
> Hi,
>
> With CMake 3.12.3, trying to use generator "Visual Studio 15 2017 ARM" I get:
>
> The C
Hi,
With CMake 3.12.3, trying to use generator "Visual Studio 15 2017 ARM" I get:
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:6 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:6 (project):
No C
> From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert
> Bielik
> Sent: den 20 oktober 2017 08:32
> To: Cmake@cmake.org
> Subject: Re: [CMake] Install rpath handling for iOS frameworks
>
> Running 3.9.4 I see that behavior related to RPATH on macOS has changed:
>
e-
> From: Robert Bielik
> Sent: den 19 oktober 2017 16:14
> To: Robert Bielik ; Cmake@cmake.org
> Subject: RE: Install rpath handling for iOS frameworks
>
> Oh, and I just added:
>
> SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
>
> But it doesn't chang
Oh, and I just added:
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
But it doesn't change anything.
/R
> -Original Message-
> From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert
> Bielik
> Sent: den 19 oktober 2017 16:09
> To: Cmake@cmake.org
> Subject
I'm trying to package an iOS framework, and with the target setting:
XCODE_ATTRIBUTE_LD_DYLIB_INSTALL_NAME "@rpath/$(EXECUTABLE_PATH)"
I get the framework built nicely. otool -L dummy.framework/dummy shows
@rpath/dummy.framework/dummy
Just as it should. Now I have a install directive:
insta
Thanks Craig,
For your thorough answer!
> set(CMAKE_MACOSX_BUNDLE YES)
I did set this so that the protoc app would get through compilation, but since
the protobuf cmake/install.cmake file contains the following:
install(TARGETS protoc ... RUNTIME DESTINATION ...) it chokes since BUNDLE
DESTIN
Hi all,
CMake version: 3.9.4
Trying to build protobuf on iOS via the toolchains @
https://github.com/ruslo/polly (ios-10-2.cmake). With some additional tricks in
my wrapper CMakeLists file:
if (IOS)
set(CMAKE_MACOSX_BUNDLE OFF)
find_package(Threads REQUIRED)
endif ()
add_subdirectory(
I've found the culprit, in boringssl/crypto CMakeLists.txt there is:
enable_language(ASM_NASM)
If I remove this (since I don't use asm), it works on both x86 and amd64 (!)
> -Original Message-
> From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert
> Bi
Hi all,
I've come to a problem with Ninja on Windows, but only when building for MSVC
amd64 toolchain. With x86, it works OK. The error I get is:
CMake Error: Error required internal CMake variable not set, cmake may be not
be built correctly.
Missing variable is:
CMAKE_ASM_NASM_COMPILE_OBJECT
t; To: cmake@cmake.org; Robert Bielik ;
> Cmake@cmake.org
> Subject: Re: [CMake] New Visual Studio project types
>
> This is not cross-platform:
> "Today Visual Studio only supports building remotely on the Linux target
> machine."
>
>
> Am 16. April 2017
Ideally, I would like to:
1. Develop in Visual Studio
2. Cross-compile on the Windows Linux subsystem
3. Run/debug the code on a Raspberry Pi
Maybe too much to ask for 😝
Regards
/R
> -Original Message-
> From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert
> Biel
Hi all,
With the "new" Cross-platform project types in VS2015+
(https://blogs.msdn.microsoft.com/vcblog/2016/03/30/visual-c-for-linux-development/),
it's almost ridiculously easy and fun to develop X-platform on f.i. the
raspberry pi.
I have a CMake based console app which I'd like to use with
Hmm.. using v3.7 the answer is no, i.e. a function declared in a subfolder will
be available in parent scope. Seems a bit odd, doesn't it ?
Regards
/R
>-Original Message-
>From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Bielik
>Sent: den 29 november
Question: When declaring a function within a sub CMakeLists.txt file, is that
function "scoped", i.e. non-existing in parent scope ?
Regards
/Robert
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers var
creation of the
cmake files for the host tools, so that the native build system was being used.
All the best
/Robert
From: Chuck Atkins [mailto:chuck.atk...@kitware.com]
Sent: den 11 oktober 2016 17:10
To: Robert Bielik
Cc: Cmake@cmake.org
Subject: Re: [CMake] [SOLVED] RE: Crosscompilation woes
For reference: I went with Brads suggestion:
https://gitlab.kitware.com/cmake/cmake/issues/16356
which seems to be working fine.
Regards
/R
From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Bielik
Sent: den 10 oktober 2016 14:00
To: Craig Scott
Cc: Cmake@cmake.org
Subject: Re
I am using a toolchain file! The CC and CXX environment variables are set by
CMake (I assume, because I haven’t touched them).
I’ll disect the link to see what I’ve missed.
Regards
/R
From: Craig Scott [mailto:craig.sc...@crascit.com]
Sent: den 10 oktober 2016 13:56
To: Robert Bielik
Cc
CXX environment
variables are set, which makes cmake use those when generating the makefiles.
Ideas are most welcome!
Regards
/R
From: Craig Scott [mailto:craig.sc...@crascit.com]
Sent: den 10 oktober 2016 10:47
To: Robert Bielik
Cc: Cmake@cmake.org
Subject: Re: [CMake] Crosscompilation woes
Here
porto...@imag.fr]
Sent: den 10 oktober 2016 13:14
To: Robert Bielik ; Cmake@cmake.org
Subject: Re: [CMake] Crosscompilation woes
It is pretty much standard. I wrote the toolchain file adapting different
examples.
the Cmakelist is for the subdirectory of my parser (called SIT_parser). The
trick si t
/R
From: portolan [mailto:michele.porto...@imag.fr]
Sent: den 10 oktober 2016 11:33
To: Robert Bielik ; Craig Scott
Cc: Cmake@cmake.org
Subject: Re: [CMake] Crosscompilation woes
I cannot answer your question: I am a newcomer to Cmake (I have been using it
for less than 6 months) and on my
Thank you Michele,
This is exactly what I'm after. You specify cmake v3.6 docs ? Is it only
working from 3.6.x ? I have 3.5.2 on my build system.
Regards
/Robert
From: portolan [mailto:michele.porto...@imag.fr]
Sent: den 10 oktober 2016 11:27
To: Robert Bielik ; Craig Scott
Cc:
Thanks Craig,
Your solution will work for me I think.
Regards
/R
From: Craig Scott [mailto:craig.sc...@crascit.com]
Sent: den 10 oktober 2016 10:47
To: Robert Bielik
Cc: Cmake@cmake.org
Subject: Re: [CMake] Crosscompilation woes
Here's one possible solution (not perfect, but has been wo
Hi all,
I am crosscompiling a project for arm (on linux i686), and use codegeneration
tools within the project (together with add_custom_command). Of course, this
will fail, since the tools are compiled for arm also and thus won't execute on
my host system. So the tools need to be compiled for
s
/R
>-Original Message-
>From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Bielik
>Sent: den 8 oktober 2016 19:12
>To: Cmake@cmake.org
>Subject: [CMake] [SOLVED] RE: Get targets added in subdirectory
>
>I ended up solving this with the &qu
I ended up solving this with the "wrapped cmake function" pattern, works nicely.
/R
>-Original Message-
>From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Bielik
>Sent: den 8 oktober 2016 17:34
>To: Cmake@cmake.org
>Subject: [CMake] Get targets ad
Is there a way to get a list of targets added via add_subdirectory ? My goal is
to place all targets in a subdirectory in a special folder in the VS IDE...
Regards
/Robert
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_
obvious "use shorter paths and names" is not possible or hard to
enforce?
David
> On Sep 7, 2016, at 2:55 AM, Robert Bielik
> mailto:robert.bie...@dirac.com>> wrote:
>
> I have a problem with a VS 2015 project, where the build state path becomes
> too long:
&g
I have a problem with a VS 2015 project, where the build state path becomes too
long:
SeverityCodeDescription Project FileLineSuppression
State
Error MSB3491 Could not write lines to file
"processor_withAVeryVeryLongName.dir\Release\processo.92BD73FC.tlog\processor_wit
foo STATIC )
add_library(bar STATIC )
add_library(baz STATIC )
target_link_libraries(baz foo bar)
with baz containing ALL libraries ?
Regards
/Robert
>-Original Message-
>From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Bielik
>Sent: den 23 augusti 2016 08:26
>To: cm
Hi all,
I just opened https://gitlab.kitware.com/cmake/cmake/issues/16260, anyone have
ideas how to work around it ? Or if it is fixed in latest & greatest CMake ?
Regards
/Robert
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wik
Hi,
I'm currently using CMake 3.5.0 and I get TONS of CMP0054 policy warnings. So I
set the policy:
cmake_policy(SET CMP0054 OLD)
in top level CMakeLists.txt file. Nothing happens. I STILL get TONS of warnings.
Help ?
Regards
/Robert
--
Powered by www.kitware.com
Please keep messages on-to
Cheers Hendrik,
I'll try to use that approach. Thanx!
Regards
/R
Skickat från min LG-Mobil
-- Ursprungligt meddelande--
Från: Hendrik Sattler
Datum: tors, 2 jun 2016 20:32
Till: Robert Bielik;cmake@cmake.org;
Ämne:Re: [CMake] MSYS Makefiles generator problem with in
round this... behavior...
Regards
/R
Skickat från min LG-Mobil
-- Ursprungligt meddelande--
Från: Hendrik Sattler
Datum: tors, 2 jun 2016 19:16
Till: Robert Bielik;cmake@cmake.org;
Ämne:Re: [CMake] MSYS Makefiles generator problem with install/strip
Hi,
Are you using abs
Hi,
I have a problem with the install/strip target not working when using the MSYS
Makefiles generator. I get the following result in cmake_install.cmake:
file(INSTALL DESTINATION
"c:/Dev/appAndroid/idrclib/src/main/jniLibs/armeabi-v7a" TYPE SHARED_LIBRARY
FILES "C:/Dev/jniAndroid/libapi_nativ
Updated to CMake 3.5.2, and now the same CmakeLists.txt works fine. Oh well :)
Rgrds
/R
-Original Message-
From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Bielik
Sent: den 26 april 2016 11:18
To: cmake@cmake.org
Subject: [CMake] install target problem on Mac
Using
Using Cmake 3.0.1 I have a dynlib target:
ADD_LIBRARY(myDynlib SHARED ${SOURCES})
and
INSTALL(TARGETS myDynlib
LIBRARY DESTINATION ${OUTPUT_PATH}/lib
)
however, building the install target, no files end up in ${OUTPUT_PATH}/lib .
Help?
/R
--
Powered by www.kitware.com
Please keep messa
Dear Clint,
Thank you! Will certainly start with that as a base :)
Regards
/R
-- Ursprungligt meddelande--
Från:
Datum: fre, 11 dec 2015 20:12
Till: Robert Bielik;
Kopia: Attila Krasznahorkay;cmake;
Ämne:Re: [CMake] CPack and PackageMaker
If you are interested, attached is some code I
he lack of this support as well. (But
unfortunately can't spare the time to help out in writing this CPack generator.)
Cheers,
Attila
On 11 Dec 2015, at 17:44, Robert Bielik wrote:
Really ? No one ? :)
So it's ok to go ahead and start create a new one ? ;)
Rgds,
/R
Den 20
Really ? No one ? :)
So it's ok to go ahead and start create a new one ? ;)
Rgds,
/R
Den 2015-12-09 kl. 16:56, skrev Robert Bielik:
Mac OSX:
Since PackageMaker has been deprecated by Apple, the new tools to use
are pkgbuild [1] and productbuild [2].
Simple question: Is there any
Mac OSX:
Since PackageMaker has been deprecated by Apple, the new tools to use
are pkgbuild [1] and productbuild [2].
Simple question: Is there any work being done by the CMake community on
a new OS X CPack backend to support the above tools ?
Regards
/Robert
[1]
https://developer.apple.co
I'd like to incorporate our Kernel driver (.sys) into our CMake build
system. Has anyone done such a thing ? There are quite a few settings in
VS2013 that are "special" when doing kernel mode drivers with WDK...
Regards
/R
--
Powered by www.kitware.com
Please keep messages on-topic and check
*Datum: *fre, 9 okt 2015 21:10
*Till: *cmake@cmake.org;
*Ämne:*Re: [CMake] CPack Debian
Le 09/10/15 15:37, Robert Bielik a écrit :
> Den 2015-10-09 kl. 15:36, skrev Robert Bielik:
>> I saw that Rafael introduced libarchive in commit 7044e8ee4, which
>> seems to be set to both produ
Absolutely, as soon as I figure out how to get the overlays working on my
gentoo machine :)
Regards
/R
-- Ursprungligt meddelande--
Från: Raffi Enficiaud
Datum: fre, 9 okt 2015 21:10
Till: cmake@cmake.org;
Ämne:Re: [CMake] CPack Debian
Le 09/10/15 15:37, Robert Bielik a écrit :
>
I saw that Rafael introduced libarchive in commit 7044e8ee4, which seems
to be set to both produce tars without sparse files, and having
root:root as user.
Correct me if I'm wrong :)
Regards
/R
Den 2015-10-09 kl. 14:21, skrev Robert Bielik:
Hi all,
Is there a way to prevent CPack d
Den 2015-10-09 kl. 15:36, skrev Robert Bielik:
I saw that Rafael introduced libarchive in commit 7044e8ee4, which
seems to be set to both produce tars without sparse files, and having
root:root as user.
Sorry, that would be Raffi ;)
Regards
/R
--
Powered by www.kitware.com
Please keep
Hi all,
Is there a way to prevent CPack debian backend to tar files as "sparse"
? We have a crossdevelopment project that needs to be unpacked on distro
having BusyBox v.1.20.2,
which does not support sparse files.
Also we need to be able to set owner/group of the extracted files (i.e.
tar s
Ok, I went with the Xcode generator instead. Then stripping works.
/R
Robert Bielik skrev den 2015-03-24 10:17:
Indeed, seems like a bug in CMake. Looking at cmake_install.cmake for
my project, there is no option for stripping. cmake_install.cmake is
invoked as:
/Applications/CMake.app
Indeed, seems like a bug in CMake. Looking at cmake_install.cmake for my
project, there is no option for stripping. cmake_install.cmake is
invoked as:
/Applications/CMake.app/Contents/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P
cmake_install.cmake
I use CMake 3.0.1.
/R
Robert Bielik skrev den
Hi,
I've a project (.app) where I use makefiles when building from cmd line,
and I get a make target called "install/strip", however there's no
stripping done.
However, doing this manually by invoking strip on
MyApp.app/Contents/MacOS/MyApp works just fine. Is strip by chance
invoked on MyA
Ok, I escaped the string as "\"~/Library/Application
Support/MyTarget/Plugins\"", and then it comes out OK to the linker.
However... it doesn't work. Dylib dependencies are not found, whereas in
the Xcode IDE, they are! :( :( :(
About to jump from a very high pl
Hi,
I have:
SET_TARGET_PROPERTIES(MyTarget PROPERTIES
XCODE_ATTRIBUTE_LD_RUNPATH_SEARCH_PATHS "~/Library/Application
Support/MyTarget/Plugins")
and it comes through nicely when running the Xcode IDE, but when using
cmake build (cmd line), the linker gets this:
-Xlinker -rpath -Xlinker ~/L
Ok, my bad, I found the place where it is set, via:
SET_TARGET_PROPERTIES(mytarget PROPERTIES
XCODE_ATTRIBUTE_STRIP_INSTALLED_PRODUCT “YES”)
However, I’d need to set it per, so something like
SET_TARGET_PROPERTIES(mytarget PROPERTIES
XCODE_ATTRIBUTE_STRIP_INSTALLED_PRODUCT_DEBUG "NO”)
It does
Hi all,
Using CMake 3.0.1, when generating for Xcode, the setting Strip linked product
is set to Yes for ALL targets (Debug/Release…), which of course disables any
possibility to
debug. How can I make CMake set this to NO for Debug ?
TIA
/Rob
--
Powered by www.kitware.com
Please keep messa
Dammit. Went through all the option files etc. and found the darn -s. Sorry for
the noise everyone...
/R
Brad King skrev 2014-05-28 19:03:
> On 05/27/2014 09:08 AM, Robert Bielik wrote:
>> Does anyone use CMake on Mac with Xcode 5 (LLVM) ?
>> I cannot get rid of the -s optio
AND... can you paste the content of Link.txt ?
/R
Bogdan Cristea skrev 2014-05-27 16:56:
>
> On 27 May 2014, at 16:53, Robert Bielik wrote:
>
>> Not with Xcode generator, no, but it should be present when using the
>> Makefile generator.
>>
>> Which version
Hi,
Bogdan Cristea skrev 2014-05-27 16:44:
>>
>> But still, you get -s option in Link.txt files, right ? What version of
>> Xcode/LLVM do you use ?
>>
>
> I don’t see this file when using Xcode generator. An open on the generated
> .xcodeproj generates the error “project file cannot be parsed”.
Thanks Nils, will try out the 3.0 RC.
Regards
/Robert
Nils Gladitz skrev 2014-05-27 15:45:
> On 05/27/2014 03:08 PM, Robert Bielik wrote:
>> *Bump*
>>
>> Does anyone use CMake on Mac with Xcode 5 (LLVM) ? I cannot get rid of the
>> -s option to the linker (Release)
Hi Bogdan,
Bogdan Cristea skrev 2014-05-27 15:49:>
> I can confirm that I cannot use Xcode generator for a C++ project. Only
> Makefile generator works on OSX
But still, you get -s option in Link.txt files, right ? What version of
Xcode/LLVM do you use ?
Regards
/Robert
--
Powered by www.ki
rom linker
settings files (Link.txt) with sed, but it seems a suboptimal solution.
Regards
/Robert
Robert Bielik skrev 2014-05-21 10:22:
> c++ --version:
> Apple LLVM version 5.1
>
> Problem description:
>
> Linking always fails in Release build:
>
> Warning: Option -s is ob
Additional info on versions:
c++ --version:
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
OS X Mavericks 10.9.2
SDK used 10.9
Regards
/Robert
Robert Bielik skrev 2014-05-21 10:22:
> c++ --version:
> Apple LLVM versi
c++ --version:
Apple LLVM version 5.1
Problem description:
Linking always fails in Release build:
Warning: Option -s is obsolete and being ignored
with the following error:
Internal error: atom not found in symbolIndex() for architecture ...
If I remove the -s option from linking (tried it wi
Hi,
I'm trying to use the "NMake Makefiles JOM" generator (CMake 2.8.11.2), but it
chokes on not supporting the toolset option:
CALL cmake -G"NMake Makefiles JOM" -DCMAKE_GENERATOR_TOOLSET:STRING="v110_xp"
...
When will that generator support this ?
Regards
/Rob
--
Powered by www.kitware.
Titus von Boxberg skrev 2012-10-16 19:11:
That wasn't clear from your first post.
Yes, your're right, sorry 'bout that.
I doubt that this is the intended behaviour of target_link_libraries.
Nominally target_link_libraries isn't used at all for static libs, but if it
should be, I'd expect t
Titus von Boxberg skrev 2012-10-16 13:20:
Actually, "target_link_libraries(C B)" puts B into the
Additional Dependencies of the VC project generated for C.
Unfortunately that doesn't cut it. target_link_libraries adds the build dependency, but
it does not list the lib files in "Additional Depe
Hi all, I haven't found the answer to this: I have a static library A that uses
static library B, but when I create an executable C I only want to link with A.
In Visual Studio this is accomplished by adding library B to "Additional
Dependencies" (Librarian/General), but how can I make CMake cr
Johan Björk skrev 2011-09-05 09:28:
I don't remember when the deployment stuff is executed in xcode. How do you
package your product? If you are using cpack ,you can tell it to strip the
binary before packaging it.
I haven't gotten that far yet, and besides I'm allergic to PackageMaker,
spec
Tack Johan,
Johan Björk skrev 2011-09-04 09:12:
You can set it using
SET(CMAKE_XCODE_ATTRIBUTE_DEPLOYMENT_POSTPROCESSING YES)
You might also want to enable the strip-attribute if that's what you are aiming
for (STRIP_INSTALLED_PRODUCT?)
Yup that's what I'm aiming for. However, having set that
Hi,
I need "Deployment Postprocessing" checked in Release build of Xcode, to make
it strip symbols from my binary (without which it doesn't).
How do I set this to checked via CMake ? (using 2.8.4)
TIA
/Rob
___
Powered by www.kitware.com
Visit other
Michael Hertling skrev 2011-08-24 14:49:
Anyway, I didn't want to discuss this particular detail; my
point is: Configuration-selective custom commands possibly have
far-reaching consequences which should be carefully reasoned out.
I see your point. This would be a good thing to do, however, as
Robert Bielik skrev 2011-08-24 13:43:
Michael Hertling skrev 2011-08-24 13:13:
Suppose
ADD_CUSTOM_COMMAND(OUTPUT source.c CONFIGURATION Release COMMAND ...)
ADD_EXECUTABLE(main ... source.c)
and then:
cmake -DCMAKE_BUILD_TYPE=Debug
How would you like this case to be handled by CMake? Note
Michael Hertling skrev 2011-08-24 13:13:
Suppose
ADD_CUSTOM_COMMAND(OUTPUT source.c CONFIGURATION Release COMMAND ...)
ADD_EXECUTABLE(main ... source.c)
and then:
cmake -DCMAKE_BUILD_TYPE=Debug
How would you like this case to be handled by CMake? Note that with
multi-config generators, the bu
Michael Wild skrev 2011-08-23 11:29:
The easiest way around this I can see is to wrap the command in a
CMake-script like this:
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/someFile.txt
COMMAND ${CMAKE_COMMAND}
-DCONFIG=$
-DOUTPUT=${CMAKE_CURRENT_BINARY_DIR}/someFile.txt
I'm trying to setup a custom command to be executed during Release build only
(Xcode) using CMake 2.8.4, but I cannot find
any configuration based options to ADD_CUSTOM_COMMAND ? Workarounds ?
TIA
/Rob
___
Powered by www.kitware.com
Visit other Kitwar
Robert Bielik skrev 2011-08-05 09:40:
Now I use 2.8.4. Has this changed making it not work today ?
Ok, if I do:
SET(VARIABLE blablabla PARENT_SCOPE)
it works.
Sorry for the noise :)
Regards,
/Rob
___
Powered by www.kitware.com
Visit other Kitware
Hi all,
I have a project where I have several CMakeLists.txt files in subfolders
(included in main CMakeLists.txt with subdirs), one of which is an external
library inclusion folder.
trunk/external
In it I have an included Libraries.cmake file (included by the CMakeLists.txt
file) which defi
Robert Bielik skrev 2011-05-19 07:57:
I have a problem where I need to be able to select Unicode build or not, but at
the same time 3 files of my project MUST NOT have
Unicode enabled. Is there a way to remove compile definitions for certain
source files ?
Oh, and I cannot extract those 3
Robert Bielik skrev 2011-05-19 07:55:
Hi,
CMake 2.8.4 , MSVC generators:
I have a problem where I need to be able to select Unicode build or not, but at
the same time 3 files of my project MUST NOT have
Unicode enabled. Is there a way to remove compile definitions for certain
source files
Hi,
CMake 2.8.4 , MSVC generators:
I have a problem where I need to be able to select Unicode build or not, but at
the same time 3 files of my project MUST NOT have
Unicode enabled. Is there a way to remove compile definitions for certain
source files ?
TIA
/Rob
__
Hi all,
I'm wondering if there's a way to touch files on cached var changes. Let's say
I have an option to enable or disable a feature
in my application, and depending on its setting a preprocessor macro is defined
(or not defined) in the CMakeLists.txt file:
OPTION(FEATURE_X "Check to enable
David Cole skrev 2011-03-31 17:51:
Does:
find_library(
MY_LIB
libthelibrary.a
PATHS
...
)
work?
Thnx David, it does :)
Regards,
/Rob
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kit
I'm trying to use find_library to find static (.a) libraries on Mac OS X (cmake
2.8.1). In a lib path I have f.i.:
.../lib/libthelibrary.a
.../lib/libthelibrary.dylib
and with:
find_library(
MY_LIB
thelibrary
PATHS
...
)
it consequently finds only the .dylib ones, whereas I'd like to
Hi Oliver,
I use this feature and only thing that differs for me is that I do:
SET_TARGET_PROPERTIES(
myCore
PROPERTIES
FOLDER "Core"
)
Hope that helps,
/Rob
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www
Alexander Neundorf skrev 2011-03-15 21:19:
Assembler support works currently only in the makefile-based generators.
For having assembler supported in VisualStudio contributions from users are
needed (I don't have Windows, so I can't do that).
Thanks Alex, that pretty much explains it :) Ok, I'l
Eric Noulard skrev 2011-03-15 10:36:
There has been a lot of work done (Alex and Brad I think) in topic
"ReworkedAsmSupport"
it has been merged to master last week.
May be you can try a nightly build
http://www.cmake.org/files/vCVS/cmake-2.8.4.20110314-gf52ca-win32-x86.exe
in order to see if thi
Robert Bielik skrev 2011-03-15 08:59:
Using 2.8.4, I'm trying to add an assembler file with cmake (64 bit VS2008
build), but I'm at a loss, I tried:
ENABLE_LANGUAGE(ASM_MASM)
IF(NOT CMAKE_ASM_MASM_COMPILER_WORKS)
MESSAGE(FATAL_ERROR "No assembler found!")
Using 2.8.4, I'm trying to add an assembler file with cmake (64 bit VS2008
build), but I'm at a loss, I tried:
ENABLE_LANGUAGE(ASM_MASM)
IF(NOT CMAKE_ASM_MASM_COMPILER_WORKS)
MESSAGE(FATAL_ERROR "No assembler found!")
ENDIF(NOT CMAKE_ASM-MASM_COMPILER_WORKS)
but the ml64 assembler does not seem
David Cole skrev 2011-03-03 15:57:
Solution files correspond to "project" commands in CMakeLists.txt.
Add a "project" command at the top of "app/CMakeLists.txt"
Of course, I usually put a project command at top of CMakeLists.txt so I get
the solution files... didn't cross my mind
that not eve
Anton Sibilev skrev 2011-03-03 15:49:
Hello! One more question.. For example I have such structure:
folder:base
CMakeLists.txt (with PROJECT(someproject))
folder:lib1
CMakeLists.txt
folder:lib2
CMakeLists.txt
folder:app
CMakeLists.txt
and result is somepr
Michael Jackson skrev 2011-03-02 18:14:
In case you didn't happen to find this article:
http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/CppRuntimeEnv/Articles/LibCPPDeployment.html
Thanks! Have a vague memory of having seen that page before. But it doesn't
con
Michael Wild skrev 2011-03-02 10:02:
Probably this means to add -fvisibility=hidden and -static. However,
-static will cause you to link everything statically, which will fail if
you pass a dynamic library to target_link_libraries().
Ok, thanks, I'll try add this as target link properties in LI
Hi,
I'm trying to set Xcode to have static linking to the C++ standard libary, but
I don't know how to. Also, Xcode mention that
to make this work reliably, "Symbols hidden by default" must be enabled.
Tips ? :)
TIA
/Rob
___
Powered by www.kitware.co
David Cole skrev 2011-02-21 17:28:
SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ${BUILD_USE_SOLUTION_FOLDERS})
ARGH! Of course. Thank you.
/Rob
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensourc
Robert Bielik skrev 2011-02-21 17:20:
Now next fun stuff. Since not everybody use VS2008 Pro (the express version
doesn't support solution folders :( ) I need to make this
an option:
OPTION(BUILD_USE_SOLUTION_FOLDERS "Enable grouping of projects in VS" OFF)
SET_PROPERTY(
David Cole skrev 2011-02-20 17:55:
Those properties were first introduced in v2.8.3, that's why it didn't
do anything for 2.8.2...
Now next fun stuff. Since not everybody use VS2008 Pro (the express version
doesn't support solution folders :( ) I need to make this
an option:
OPTION(BUILD_USE
David Cole skrev 2011-02-20 17:55:
Those properties were first introduced in v2.8.3, that's why it didn't
do anything for 2.8.2...
:-)
hehe... yeah, well... humpte dumpte dum... ;)
/Rob
___
Powered by www.kitware.com
Visit other Kitware open-sour
1 - 100 of 141 matches
Mail list logo