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
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!)
ENDIF(NOT CMAKE_ASM-MASM_COMPILER_WORKS
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 this
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,
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
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
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
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
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
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
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
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
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
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
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=$CONFIGURATION
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=Debugpath/to/source
How would you like this case to be handled by CMake? Note that with
multi-config
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=Debugpath/to/source
How would you like this case to be handled
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
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
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
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,
Hi all,
Using 2.8.2 I'm trying to make a rule to create a timestamp header, but only if
a certain file has changed, like so:
ADD_CUSTOM_COMMAND(
OUTPUT src/timestamp.h
COMMAND tools/win32/timestamper
ARGS src/timestamp.h
DEPENDS Version.cmake
WORKING_DIRECTORY
Michael Wild skrev 2010-12-10 10:28:
1. Always use absolute paths (e.g. using CMAKE_CURRENT_SOURCE_DIR and
CMAKE_CURRENT_BINARY_DIR).
2. Never create output in the source tree.
Thanks, I'll try that.
/Rob
___
Powered by www.kitware.com
Visit
Hi all,
I'm trying to make a FindMKL.cmake file (for Intel MKL) to handle Windows and
Mac OS X primarily. However, I thought that CMake would find my
FindMKL.cmake file if being in the same directory as the calling CMakeLists.txt
file ? Can I make CMake find the file without having to resort
Michael Wild skrev 2011-02-09 14:07:
that's what the CMAKE_MODULE_PATH variable is for. And there is a
FindLAPACK.cmake should already find Intel MKL, however IMHO the whole
module is rather broken...
Thnx Michael, I found that seconds after pressing the send button :) Thanks for
pointing to
David Cole skrev 2011-02-09 14:31:
Is there some way I can make file(GLOB_RECURSE... ) start at a directory of
my choice (instead of the current CMakeLists.txt folder) ?
file(GLOB_RECURSE ${dir}/*)
Yes, and that will return file names. Would be nice to have a directive
David Cole skrev 2011-02-09 16:32:
You can iterate the returned list something like this to accumulate just
directory names:
set(dirs )
foreach(f ${glob_results})
if(IS_DIRECTORY ${f})
set(dirs ${dirs} ${f})
endif()
endforeach()
Yes, not bad. Good idea, thnx.
/Rob
David Cole skrev 2011-02-09 16:32:
You can iterate the returned list something like this to accumulate just
directory names:
set(dirs )
foreach(f ${glob_results})
if(IS_DIRECTORY ${f})
set(dirs ${dirs} ${f})
endif()
endforeach()
Hmm... doesn't work. find(...) doesn't return
David Cole skrev 2011-02-09 16:49:
Ah I know what it is. If you use GLOB_RECURSE you only get files because
the directories are recursed into.
You have to use GLOB alone and do the recursion manually if you want to descend
into found directories... Painful. But still possible.
Something
Louis Hoefler skrev 2011-02-09 19:41:
Hello everyone,
i created cmake files for a visual studio solution.
The solution compiles, and now I want to
start debugging the testapplication.
I want to change the command line option,
which is used by the debugger, to invoke the application.
How can
Michael Wild skrev 2011-02-09 16:48:
what about this:
file(GLOB_RECURSE glob_results /some/pattern*)
set(dirs)
foreach(f IN LISTS glob_results)
get_filename_component(d ${f} PATH)
list(APPEND dirs ${d})
endforeach()
list(REMOVE_DUPLICATES dirs)
Yeah, works fine but it seems to be a lot
Hi all,
I seem to be missing something, cause I cannot find a target property for
setting additional library directories (for a MSVC project)
Help!?
TIA
/Rob
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
Eric Noulard skrev 2011-02-14 15:42:
I seem to be missing something, cause I cannot find a target property for
setting additional library directories (for a MSVC project)
Usually you do not specify additional lib directories you should
specify all libs you need with target_link_libraries.
Michael Wild skrev 2011-02-14 15:55:
Probably you could make the find_library call more robust by appropriate
PATHS options, but I currently don't have a windows available, so I
can't check whether the registry would help.
The DXSDK_DIR environment variable is set to correct location, so I use
Hi all,
Running CMake 2.8.2 and generating build files for VS 9 (2008), I'm trying to tidy
up the workspace by putting projects in solution folders.
So I do:
add_library(MyLib .)
set_target_properties(MyLib
PROPERTIES
FOLDER Libraries);
add_executable(MyExe .)
John Drescher skrev 2011-02-19 17:33:
#Use solution folders.
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
Doesn't seem to work. Where is this documented ? Seems very hinky to have a
FOLDER target property, and then
have it globally disabled ?
/Rob
Robert Bielik skrev 2011-02-20 10:54:
John Drescher skrev 2011-02-19 17:33:
#Use solution folders.
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
Doesn't seem to work. Where is this documented ? Seems very hinky to have a
FOLDER target property, and then
have it globally disabled ?
My bad
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
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:
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(GLOBAL PROPERTY
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
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.com
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
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
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
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
I'm trying to use CPack to install a target at:
C:\Program Files\Vendor\Package
but it seems that CPack only allows me to do:
C:\Program Files\Package
Any ideas how to create that extra directory hierarchy?
TIA
/Rob
___
Powered by
David Cole skrev:
(The CPACK_NSIS_DISPLAY_NAME variable defaults to the same
as CPACK_PACKAGE_INSTALL_DIRECTORY, but you probably don't want the
Vendor\\ in the display name, which is used elsewhere in
NSIS.template.in http://NSIS.template.in.)
Thanx, but it doesn't work as expected,
By changing NSIS.template.in to use CPACK_NSIS_DISPLAY_NAME instead as
Name for the
installation, it works fine.
Actually I see now that this is bug
(http://public.kitware.com/Bug/view.php?id=8682)
/R
___
Powered by www.kitware.com
Visit other
I'm using cmake 2.6-patch 3 on Ubuntu (64bit 8.04) to generate an Eclipse
project, that part works fine... I think.
Problem is that when I try to import the project into Eclipse workspace, it
takes *forever*. It has run now for
20 minutes+ with a 100% CPU load.
When can I expect it to
Eric Noulard skrev:
May be you should try again with a genuine jdk (sun jdk or open jdk)
I did experienced trouble with gij and Eclipse.
Thnx, that did the trick. Installed the sun-jdk and it works fine, not only
that, the interpreter
is *alot* faster too :)
/Rob
Gooch, Allen skrev:
I have several variables I would like to have configured using a custom
group which shows up in the “Grouped View” of cmake-gui. How is this done?
If I'm not mistaken, grouping is done by checking prefixes. So if your
variables are named
MYCUSTOMVAR_* they'd popup under
Ok, apologies if this is already implemented, just haven't seen it.
When making Unix Makefiles, then link.txt script have archive files (static
libraries) listed in the
order they appear in the TARGET_LINK_LIBRARIES directive.
The GCC linker (LD) has the peculiarity that if symbols are defined
Tyler Roscoe skrev:
On Wed, Jun 24, 2009 at 11:38:56AM -0400, Brad King wrote:
Flags can be passed to target_link_libraries too:
add_library(A STATIC a.c)
add_library(B STATIC b.c)
add_executable(main main.c)
target_link_libraries(main -Wl,--start-group A B -Wl,--end-group)
This is
I'm trying to get an icon to show in Windows Programs and features, registry should
contain a DisplayIcon entry pointing to the icon
to show. But CPack generates only:
; Optional registration
Push DisplayIcon
Push $INSTDIR\
Call ConditionalAddToRegisty
which of course will make Programs
Robert Bielik skrev:
which of course will make Programs and features show no icon at all.
So the question is, how do I tell CPack to create a correct path ?
I tried look at the code base, but I fail to find where CPack generates NSIS
files, couldn't
find anything about DisplayIcon in CPacks
Bill Hoffman skrev:
Modules/NSIS.InstallOptions.ini.in and Modules/NSIS.template.in
Thnx Bill, exactly what I need.
/Rob
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
It seems that the CPack PackageMaker generator doesn't (by default) follow the
guidelines (seemingly important) of PackageMaker, see
f.i. http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html . Is there some
resource on how to get CPack to do this ?
TIA
/Rob
Alexander Neundorf skrev:
On Sunday 25 April 2010, Robert Bielik wrote:
It seems that the CPack PackageMaker generator doesn't (by default) follow
the guidelines (seemingly important) of PackageMaker, see f.i.
http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html . Is there some
resource on how
Hi all,
Just looking into using CPack for generating our installation scripts. On
Windows I can see only NSIS, are there any
efforts towards generating an XML for WiX (so that a .msi file can be created)?
Thanks
/Robert
___
CMake mailing list
Is CPack anything that is alive? The lack of responses makes me feel not...
(?)
/R
Ursprungligt meddelande
Ämne: [CMake] CPack targets
Datum: Wed, 22 Aug 2007 15:35:56 +0200
Från: Robert Bielik [EMAIL PROTECTED]
Organisation: Xponaut
Till: cmake@cmake.org
Hi all,
Just
I'm setting up a project repository with subversion where I'll have external
libs linked in via
svn:externals svn property. Each external lib will have a CMakeLists.txt file.
Ideally, I'd like to have the possibility to include N subdirectories without
having to alter
the CMakeLists.txt file
I have a structure where I include all subdirs via FILE(GLOB.. and FOREACH
and within each subdir CMakeLists.txt I want to add a path to be used with
INCLUDE_DIRECTORIES in the main CMakeLists.txt
I tried SET(INCL_DIRS ${INCL_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/include) but the
INCL_DIRS variable
To retrieve a variable from a subdirectory (added via
ADD_SUBDIRECTORY), you have to do something like:
GET_DIRECTORY_PROPERTY (MYVAR DIRECTORY subdirectory DEFINITION INCL_DIRS)
Have a look at cmake documentation for more info about GET_DIRECTORY_PROPERTY.
Thanks Olivier, that was what I was
I'm compiling under Ubuntu and want to generate 64 bit code. Is there a way to
get cmake to generate
the correct settings in the Makefile ?
I tried adding -m64 (and -march=x86-64) but the __x86_64__ define does not seem
to be set. I.e. when using
FD_SET it gets the #define from
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
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
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
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 -GNMake Makefiles JOM -DCMAKE_GENERATOR_TOOLSET:STRING=v110_xp
...
When will that generator support this ?
Regards
/Rob
--
Powered by www.kitware.com
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(symbol) for architecture ...
If I remove the -s option from linking
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 version 5.1
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 obsolete and being ignored
with the following
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
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), so presumably no one else can either
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”. I am
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 robert.bie...@dirac.se wrote:
Not with Xcode generator, no, but it should be present when using the
Makefile generator.
Which version of CMake do you use
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 option to the linker (Release
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
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
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
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 place. Help ?
/Rob
Robert Bielik
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
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
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
*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
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
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 debian
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
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 :
>
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]
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 work
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 <robert.bie...@dirac.se> wrote:
Really ? No one ? :)
So it's ok to go ahead and start create a new one ? ;)
Rgds,
/R
De
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
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
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
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
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
;> wrote:
I suppose the obvious "use shorter paths and names" is not possible or hard to
enforce?
David
> On Sep 7, 2016, at 2:55 AM, Robert Bielik
> <robert.bie...@dirac.com<mailto:robert.bie...@dirac.com>> wrote:
>
> I have a problem with a VS 2015 project, wher
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:
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 targ
1 - 100 of 126 matches
Mail list logo