Hello,
On 20.05.19 16:01, hex wrote:
What means command1 [args1...]]? Or, should this read
*add_custom_target(Name [ALL] [COMMAND command1 [args1...]]**
** [COMMAND command2 [args2...] ...]*
I believe this is due to backward compatibility (pre 2.6) reasons so
that you could still write:
On 17.05.19 02:53, Gelryun wrote:
I write MakefileList.txt like this.
include_directories(${COMMINC_DIR} ${DBINC_DIR} ./)
link_directories(${DBLIB_DIR} ${COMMLIB_DIR})
set(DBUSERID withdb/ufdb)
PREPROCESS_ORACLE_FILES(ACK_
Hello,
On 25.04.19 09:29, Orban, Laszlo wrote:
Please help me an issue I'm facing with CMAKE_HOST_SYSTEM_NAME on
FreeBSD 10.3. It gives back empty string, if I read it before the
'project(...)'.
As far as I understood, CMAKE_SYSTEM_NAME can be used only after the
'project(...)' call, but CMAKE
Hello,
On 17.11.16 17:15, Damian wrote:
We are still in the process of switching our large Make-based build to
CMake. One of the issues we're running into is the time it takes to
reparse and regenerate the CMake project (whether ninja, VS, or make)
after touching any CMake file. To give you an
Hello,
On 10/3/18 6:08 PM, Tom Finegan via CMake wrote:
I'm trying to get rid of some local CMake scripting for building assembly
with nasm and yasm, but I'm running into a problem with the Xcode generator.
For the make and ninja generators, everything is fine-- nasm and yasm are
both working
Hello,
On 6/20/18 3:10 AM, A. Sanchez via CMake wrote:
> Hello. I have been trying to get a good version of CMake for my PS3 cluster
> running linux. But everything I try to compile needs CMake 3.0 or higher? Is
> there any way to update from CMAKE 2.4. Right now I am running Fedora 9,
> since
In case it helps: the GUI can contains a regex explorer where you can play
with rexexes. But beware: there are some corner cases around quoting
special things.
I'd suggest to use if( ... MATCHES ...) And read the match from
the CMAKE_MATCH_ variables.
On Oct 24, 2017 11:16, "Edoardo Pasca" wrot
On 6/22/17 4:01 PM, Robert Dailey wrote:
> In my toolchain file for Android NDK, I specify the following *.so
> paths manually:
>
> set( ANDROID_PREBUILT_LIBRARIES
>
> ${CMAKE_ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/libgnustl_shared.so
> ${CMAKE_ANDROID_NDK}/platforms/andr
Hello,
On 6/26/17 8:12 PM, Watson, Andre wrote:
> We're currently migrating a huge internal system over to CMake, and we're
> nearing completion, but have run into an issue with the generated Xcode
> projects. We build this system on Windows, Linux, and Mac (both makefile and
> Xcode). On all
On 3/29/17 10:15 PM, Steven Velez wrote:
> I do have a pretty large project with around 142 targets.
>
> Another characteristic of note, and which I noticed while investigating
> this is that our project suffers from
> https://gitlab.kitware.com/cmake/cmake/issues/14297, and I think it is
> becaus
Hi Steven,
On 3/29/17 5:24 PM, Steven Velez wrote:
> If I understand correctly the purpose of the ZERO_CHECK target is to update
> the generated project files when necessary.
>
> That's fine, but I have noticed on Xcode (8.2) that when ZERO_CHECK runs
> and updates the project, it causes the xcod
On 3/20/17 12:09 PM, Sergey Zakharchenko wrote:
> Rolf,
>
> 2017-03-20 14:06 GMT+03:00 Rolf Eike Beer :
>> https://gitlab.kitware.com/cmake/cmake/issues/14335
>
> Since the issue is marked "easy" and it's over 3 years old, I assume
> nobody cares? OK then.
https://gitlab.kitware.com/cmake/cmake/
Hello,
On 20/03/2017 12:09, Sergey Zakharchenko wrote:
Rolf,
2017-03-20 14:06 GMT+03:00 Rolf Eike Beer :
https://gitlab.kitware.com/cmake/cmake/issues/14335
Since the issue is marked "easy" and it's over 3 years old, I assume
nobody cares? OK then.
I can try to fix it. I hope we don't need
On 3/12/17 6:45 PM, Gregor Jasny wrote:
> On 3/10/17 12:31 AM, Cedric Doucet wrote:
>> Actually, I should not modify CMAKE_CXX_COMPILER_FLAGS.
>> It seems that the problem comes from the variable
>> CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS which only conta
Hello,
On 3/10/17 12:31 AM, Cedric Doucet wrote:
> Actually, I should not modify CMAKE_CXX_COMPILER_FLAGS.
> It seems that the problem comes from the variable
> CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS which only contains ' -bundle
> -Wl,-headerpad_max_install_names' but not ' -undefined dynamic_lo
Hello,
On 02/02/2017 16:15, Сергей Бойцов wrote:
Hello.
I'm looking for some help cause i have faced a really strange problem
with building frameworks on Mac OS
So i have:
Mac OS X : el captain
Xcode 8.0
CMake 3.3.2 [1],
CMake 3.4.5 [2],
CMake 3.5-3.6 [3]
CMake [1] produced correct framework
Hello,
On 16/01/2017 15:43, Harry Mallon wrote:
Sorry look like it is not in the release build yet.
correct, please use a recent nightly:
https://cmake.org/files/dev/?C=M;O=D
Maybe you could report back if the attribute works for you.
Thanks,
Gregor
--
Powered by www.kitware.com
Please ke
Hello,
I wonder if there is a reason why no MSVC15 variable is available for
Visual Studio 2017? I'm using those MSVCxx variables and
CMAKE_GENERATOR_TOOLSET to detect the active toolset:
# Visual Studio 2008
if((MSVC90 AND "${CMAKE_GENERATOR_TOOLSET}" STREQUAL "") OR (CMAKE_GENERATOR_TO
On 03/12/2016 19:46, Gregor Jasny wrote:
> On 03/12/2016 15:07, wy39666...@163.com wrote:
>>>> I have a trouble in using cmake.I try to find a way to resolve that for a
>>>> long time, but finally get no results. I attempt to create an ios
>>>> application
On 03/12/2016 15:07, wy39666...@163.com wrote:
>>> I have a trouble in using cmake.I try to find a way to resolve that for a
>>> long time, but finally get no results. I attempt to create an ios
>>> application imessage extension by cmake but i can't find a suitable
>>> command. So i contact you
Hello,
On 01/12/2016 07:02, wy39666...@163.com wrote:
> I have a trouble in using cmake.I try to find a way to resolve that for a
> long time, but finally get no results. I attempt to create an ios application
> imessage extension by cmake but i can't find a suitable command. So i contact
> you
ber 2016 09:29:14 MEZ, schrieb Gregor Jasny via CMake
> :
>> Hello,
>>
>> On 25/11/2016 19:25, Nathan Sizemore wrote:
>>> I receive the following when building:
>>>
>>> [ 40%] Building C object
>>>
>> Utilities/cmlibarchive/libarchive/CM
Hello,
On 25/11/2016 19:25, Nathan Sizemore wrote:
> I receive the following when building:
>
> [ 40%] Building C object
> Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_cryptor.c.o
> In file included from
> /home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/a
Hello,
On 02/11/2016 06:01, Robert Ramey wrote:
> Here is what I'm seeing:
>
> a) it looks like CMake is looking for boost_filesystem rather than
> libboost as I expect. (same for system).
>
> b) even if I tweak findBoost to force the system to look for libboost...
> it still fails
>
> b) If I
Hello Robert,
On 29/10/2016 22:03, Robert Ramey wrote:
> I've just "upgraded" to version 3.6 of CMake. I'm using Xcode with the
> clang compiler. Now when I'm trying to configure a project I'm getting:
>
> The C compiler identification is unknown
> The CXX compiler identification is unknown
> C
On 23/09/2016 22:35, Gregor Jasny wrote:
> On 21/09/2016 10:54, James Turner wrote:
>>
>>> On 20 Sep 2016, at 16:00, Braden McDaniel wrote:
>>>
>>> When setting CMAKE_OSX_SYSROOT to the unversioned directory name (using
>>> Xcode 8, as it happens) a
On 21/09/2016 10:54, James Turner wrote:
>
>> On 20 Sep 2016, at 16:00, Braden McDaniel wrote:
>>
>> When setting CMAKE_OSX_SYSROOT to the unversioned directory name (using
>> Xcode 8, as it happens) and setting CMAKE_OSX_DEPLOYMENT_TARGET, I get this
>> error:
>>
>>
>> -- The CXX compiler iden
Hello,
On 22/07/16 23:07, Victor Rykov wrote:
> After adding a .metal file to a target via add_executable the metal file
> does not get pushed to the generated project`s Compile Sources queue and
> subsequently does not compile during project build unless I add the file to
> the queue manually fro
Hello,
an editor with syntax highlighting and indention support would have
helped here.
On 04/07/16 01:26, Sambeet Panigrahi wrote:
IF(NOT NOT_BUILD_SHARED )
ADD_LIBRARY(orocos-rtt-mqueue-${OROCOS_TARGET}_dynamic SHARED ${CPPS})
TARGET_LINK_LIBRARIES(orocos-rtt-mqueue-${OROCOS_TARGET}_d
Hello,
On 11/05/16 09:25, Attila Krasznahorkay wrote:
> I'm a bit surprised by this. I had to explicitly tell CMake not to treat
> includes coming from imported targets as system includes. Using this variable:
>
> https://cmake.org/cmake/help/v3.0/variable/CMAKE_NO_SYSTEM_FROM_IMPORTED.html
> ht
Hello,
On 11/05/16 21:22, Roman Wüger wrote:
> I got the following error when linking the iOS bundle:
>
> clang: error: cannot specify -o when generating multiple output files
>
> I didn’t found anything about the error in the internet, so maybe someone
> has already solved such error?
>
> Does
On 10/05/16 01:52, Siyuan Ren wrote:
> Version 7.3.1 (7D1014)
Could you please share your build and source directory with me?
--
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 various services to support
On 02/05/16 11:16, Siyuan Ren wrote:
> I have CMake 3.5.2.
>
> I write a simple CMakeLists.txt like the below
>
> ```
> project(mytest)
> add_executable(mytest test.cpp)
> ```
>
> Then generate the Xcode project file with `cmake -G Xcode .`. Open the
> project file in Xcode, and I found the opti
On 06/04/16 20:32, Matthew Keeler wrote:
>
> I think I ran into a bug but I am wondering if anyone has seen it an worked
> around.
>
> I have a source structure like the following (this is a contrived small
> example to illustrate the problem):
>
> - CMakeLists.txt
> - main.c
> - lib
>
Hello,
I fear you're one of the first users of the XCtest feature :)
On 21/03/16 13:42, Vladimír Vondruš wrote:
Hello,
I came across this problem when trying to use XCTest macros (
https://cmake.org/cmake/help/latest/module/FindXCTest.html ) on iOS. When
compiling for OSX, ctest properly exe
On 25/03/16 22:11, Sebastian Schuberth wrote:
> I also just realized CMAKE_C_ABI_COMPILER is set to FALSE in
> CMakeCCompiler.cmake. Looking at CMakeError.log was a good hint. I
> found:
>
> ---8<---
> Building C object CMakeFiles/cmTC_c0166.dir/CMakeCCompilerABI.c.obj
>
> C:/Ruby-DevKit/mingw/bi
Hello,
On 26/02/16 00:00, Andrew Hundt wrote:
> I believe check_cxx_compiler_flags is failing due to a long/complicated
> compiler path.
>
> Specifically my compiler is set to:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
>
> CMake version: 3.4.3
>
Hello,
I discovered that the Visual Studio 2015 Generator does not work with
v120 toolsets (#15986) and consider that major issue.
As far as I see this is related to the debug information setting from
#15894.
Thanks,
Gregor
--
Powered by www.kitware.com
Please keep messages on-topic and c
Hello,
I'd like to get your feedback on deprecating or dropping support for
older Xcode versions. During changes on the Xcode generator it gets
harder and harder to test against old and very old Xcode versions like 3
and 4.
Are there still users around for these versions of Xcode?
PS: I'm talkin
Hello,
On 01/02/16 04:52, Craig Scott wrote:
> After a bit of experimenting, it seems that getting ccache working with the
> Xcode generator isn't so straightforward. For Ninja and Unix Makefiles, the
> RULE_LAUNCH_COMPILE global property nicely gives us the behaviour we want,
> but this doesn't w
Hi,
On 21/01/16 15:14, Vania Joloboff wrote:
Hi
I want to add two definitions to compile one specific files
in addition to the global definitions.
I have the following problem. If I use
set_source_files_properties(source.cpp
PROPERTIES
COMPILE_DEFINITIONS VAR1=${MY_VAR1} VAR2=${MY_VAR2} )
the
Hello,
please have a look at some other toolchain file like the BlackBerry one:
> https://github.com/blackberry/OGRE/blob/master/src/CMake/toolchain/blackberry.toolchain.cmake
On 30/12/15 21:38, Kuhl, Brian wrote:
> I'm trying to add support for VxWorks to CMake.
> My current dilemma is that the
On 08/12/15 20:21, digitalriptide wrote:
> Thank you Gregor! I have tried the Makefile generator, but on OS X -isystem
> still seems to be missing with GCC. The -isystem flag appears with Clang,
> however. I have installed CMake 3.4.1 and GCC 5.3.0, both through MacPorts.
> I can provide a sample p
On 15/11/15 21:13, digitalriptide wrote:
Did this fix make it into 3.4? After upgrading to 3.4, GCC still seems
to lack -isystem flags on OS X. Is there anything extra I need to do?
It should be fixed for the Makefile and Ninja generators but not Xcode.
My proposed fix broke older Xcode version
Hello,
On 14/11/15 20:23, Cedric Doucet wrote:
> I managed to compile cmake such that it support https by the past, but I
> can't remember how I did it.
> I remember I installed openssl and pass some flags to cmake.
>
> Could anyone remember me how to do it?
HTTPS support worked for me after
Hello,
Today I stumbled across funny behavior of string(REGEX REPLACE:
This one would lead to an empty match:
string(REGEX REPLACE "(.*)" "\\1Proxy.cpp" _out "IConnectionCallback")
This one would match whole "IConnectionCallback"
string(REGEX REPLACE "(.+)" "\\1Proxy.cpp" _out "IConnectionCa
Hello,
On 17/10/15 18:28, Michael Jackson wrote:
Are there any known issues with Xcode 6.4 and CMake 3.3.x? I ask because in our
project when we generate the Xcode project we end up with 2 or 3 executables
listed in the drop down combo box. We also end up with lots of duplicate
targets in the
Hello,
On 09/10/15 17:51, Roman Wüger wrote:
> I’m trying to configure and build a project with the “Xcode” generator and
> the bullseye coverage tool.
>
> Without the bullseye coverage tool it works fine but if I want to use it I
> had to do the following workaround:
> http://www.bullseye.com/he
Hello,
On 10/09/15 16:34, Daniel Wirtz wrote:
> i've now quite often encountered the need to access basic git
> information about the source tree from within cmake.
> i've attached the current FindGit.cmake module shipped with CMake
> enhanced by two functions: getGitRevision and getGitBranch.
> i
Hello,
On 03/09/15 23:15, Robert Dailey wrote:
> How recent is this documentation?
> http://www.cmake.org/Wiki/CMake:How_To_Find_Libraries#Writing_find_modules
>
> It seems rather old. What is the modern way of doing this?
The cmake-developer help page has a section about modules:
http://www.cma
On 05/09/15 08:22, Alex Turbov wrote:
> Hi,
>
> in my project I have `add_executable()`. after that, in a current binary
> dir I need to render a `*.cmake` script (via `configure_file()`) to be
> running from `add_test()` (as `cmake -P`) which should start just the
> compiled executable via `execu
Hello,
On 17/08/15 01:01, digitalriptide wrote:
When I add SYSTEM to target_include_directories, for example using
target_include_directories( my_target SYSTEM PUBLIC ${MY_LIBRARIES} )
in Clang, CMake prepends -isystem to the relavent -I/my/library/path
type flags. With GCC, however, I see no -i
odesign_allocate
export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/gjasny/src/cmake/_build/bin:/Users/gjasny/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11
Hello,
in my build process I need to call a compiler like tool with the same
include directories as a certain target.
I tried the following:
cmake_minimum_required(VERSION 3.2)
project(cmake-genex C)
add_library(dummy dummy.c foo.c)
target_include_directories(dummy PUBLIC foo bar)
set(prop "$"
On 17/06/15 16:29, Michael Jackson wrote:
> Just to follow up with this issue in case anyone else has issues with Xcode
> here is what happened. Thanks to Gregor for taking a look at the generated
> project file he was able to identify an issue where there were file paths in
> the form of "//" i
On 16/06/15 21:27, Gregor Jasny wrote:
> Hello,
>
> I applied some fixes to what becomes CMake 3.3. could you please test
> the release candidate?
Sorry, somehow overlooked the statement about RC in your mail.
> On 16/06/15 16:27, Michael Jackson wrote:
>> Running OS X 10
Hello,
I applied some fixes to what becomes CMake 3.3. could you please test
the release candidate?
On 16/06/15 16:27, Michael Jackson wrote:
> Running OS X 10.8.5 with Xcode 5.1.1 and Cmake 3.2.x and 3.3.RC and neither
> generate a Xcode project file that can be opened by Xcode. We get valid Ni
On 10/06/15 04:17, Dave Yost wrote:
> Hey, I love colors. But one of my users doesn’t.
You could try the Ninja generator instead of Makefile. It much often
faster, as verbose as necessary, and black'n'white.
Thanks,
Gregor
--
Powered by www.kitware.com
Please keep messages on-topic and check t
Hi Eric,
On 14/06/15 14:38, Eric Wing wrote:
> I have been successful at setting Xcode properties on specific targets
> with CMake via:
>
> set_property (TARGET ${TARGET} PROPERTY
> XCODE_ATTRIBUTE_${XCODE_PROPERTY} ${XCODE_VALUE})
>
> But I have been unable to set properties on the global/root
Hello,
On 29/04/15 01:25, Marek Vojtko (Firaxis) wrote:
My questions:
1) Is there anything I can do right now (with CMake 3.2.2.) that would make
Xcode handle .metal files correctly?
2) Are there plans to support .metal files via CMake and if so, how far along
are they?
Does the XCODE_EXPLIC
Hi,
On 23/04/15 16:54, Mateusz Loskot wrote:
> Surprisingly, I'm having trouble to figure out how to determine,
> that in Linux 64-bit OS, I'm building a project with -m32 specified.
> IOW, any CMake variable or macro to tell me target architecture
> of a build that is being configured is 32 or 64
Hello,
On 18/03/15 06:08, James Turner wrote:
> I’d imagine this is a FAQ, but I’ve Googled without success. Apologies if the
> answer is out there.
>
> With Cmake 3.2.1, some behaviour seems to have changed, in the handling of
> CMAKE_OSX_DEPLOYMENT_TARGET.
>
> I am trying to build using the
Hello Pere,
On 09/03/15 12:59, Pere Mato Vila wrote:
I am using cmake version 3.1.3 on MacOSX 10.10.2. I want to build a
SHARED library made exclusively of OBJECT libraries. This works well
with the Makefile generator but fails with the Xcode generator.
To reproduce the problem is very s
Hello Robert,
On 19/01/15 20:42, Robert Dailey wrote:
> I'm running CMake 3.1 on Mint 64-bit OS. I need to generate an Eclipse
> project using Ninja that uses Clang to build a 32-bit application.
>
> When I do this:
>
> add_definitions("-m32")
>
> For some reason my code is not able to include
Hello,
On 16/12/14 23:23, Parag Chandra wrote:
> Basically, my colleague gets the following errors when he tries to run CMake
> on a project that I created:
>
> -- The C compiler identification is unknown
> -- The CXX compiler identification is unknown
> CMake Error in :
> No CMAKE_C_COMPILER
Hi,
On 18/12/14 23:59, Radu Margarint wrote:
> I hope I'm asking this in correct place. I have recently been running
> into some issues using the xcode project files generated though cmake,
> and I have traced them down to PBXFileReference nodes using
> explicitFileType attributes (vs lastKnownFil
On 06/09/14 16:02, Alexey Petruchik wrote:
> I want to use different library folders for x64/x86/arm architectures.
> Cmake has different generators for each arch: "Visual Studio 12
> 2013", "Visual Studio 12 2013 ARM", "Visual Studio 12 2013 Win64". Is there
> any cmake var to get visual studio ta
Hello,
while working on -isystem support for cotire I did not find a way to
query the "SYSTEM" flag on the INCLUDE_DIRECTORIES directory property.
Did I miss something or was this omitted intentionally?
Thanks,
Gregor
--
Powered by www.kitware.com
Please keep messages on-topic and check the C
Hello,
for reference:
On 10/03/14 20:53, Gregor Jasny wrote:
> I wrote some FindXYZ modules that utilize FindPackageHandleStandardArgs
> to find precompiled libraries. Now I have to "find" a library that
> itself depends on another library and I wonder what's the re
Hello,
I wrote some FindXYZ modules that utilize FindPackageHandleStandardArgs
to find precompiled libraries. Now I have to "find" a library that
itself depends on another library and I wonder what's the recommended
way to do so?
I thought about nesting the find_package calls but then I have the
Hello,
On 9/30/13 7:19 PM, Williams, Norman K wrote:
cmake_minimum_required(VERSION 2.8)
project(Test)
add_custom_command(OUTPUT file.c
COMMAND echo "GENERATING FILE"
COMMAND ${CMAKE_COMMAND} -E remove file.c
Hello,
I need a function to check for existing preprocessor symbols.
Something like
CHECK_C_PREPROCESSOR_SYMBOL_EXISTS("__i386__", X86)
CHECK_C_PREPROCESSOR_SYMBOL_EXISTS("__x86_64__", X64)
I guess a hack would be to (ab)use CHECK_TYPE_SIZE for this, but is the
a more elegant solution?
Thanks,
Hello Willy,
On 1/4/13 4:58 PM, Willy Lambert wrote:
> I am trying to convert an existing project from Manual Makefiles to
> Cmake for building it.
> We have a logger that rely on the __FILE__ define to say which file is
> "writing" into the log but this is broken by the CMake default
> behavior u
Hello,
In my root project CMakeLists.txt file I'm using the file(STRINGS ...)
command to read some version numbers from a text file. Now I'd like to
declare this text file as a CMakeLists.txt dependency to re-trigger the
CMake configuration step if a version number changes (Just like
re-confi
Hi,
2007/7/2, Alexander Neundorf <[EMAIL PROTECTED]>:
> since last week cmake cvs has basic support for assembler.
> Assembler is different from other languages in that it actually is no single
> language, but there are many different assembler languages.
thanks for your work in this area! I've s
Hi,
I want to test if the current GNU compiler accept the -fopenmp flag.
In my cmake module I have the following test:
TRY_COMPILE( OPENMP_COMPILED
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/cmake/Modules/CheckForOpenMP.c
CMAKE_FLAGS -DCMAKE_C_FLAGS:STRING="-fopenmp"
OUT
76 matches
Mail list logo