all of my
configurations of Foo are now going to link against the same Release
configuration of Bar.
Is this a bug, or am I simply not using this feature correctly? I tried both
3.0.1 and 3.1rc2 on Windows.
Thanks,
Parag Chandra
--
Powered by www.kitware.com
Please keep messages on-topic
I figured it out, and it's a case-sensitivity issue. I have named my
configuration Custom, so I was expecting the corresponding property to be
IMPORTED_LOCATION_Custom, but in fact CMake is expecting
IMPORTED_LOCATION_CUSTOM. So it's an easy fix on my part.
Parag Chandra
Software Engineer
? The naïve thing I tried
first is to just run a script to make the modifications, but of course the next
time CMake runs it will regenerate the project file and wipe out these changes.
Regards,
Parag Chandra
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ
-development-under-visual-studio-20
12-express
Parag Chandra
Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 2285, Atlanta, GA 30309
On 12/10/14, 9:03 AM, Micha Renner micha.ren...@t-online.de wrote:
Hi all
this:
if (NOT (DEFINED Foo_cmake))
set (Foo_cmake TRUE)
# Add shared logic below, then end with:
endif ()
Hope this helps.
Parag Chandra
Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 2285, Atlanta, GA 30309
On 12/10/14, 9
()
endforeach ()
Hope this helps.
Parag Chandra
Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 2285, Atlanta, GA 30309
On 12/10/14, 8:58 AM, Domagoj Saric domagoj.sa...@littleendian.com
wrote:
Hi,
Given a target
it¹s not guaranteed to be defined, so you¹ll have
to experiment.
Regards,
Parag Chandra
Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 2285, Atlanta, GA 30309
On 12/15/14, 11:16 AM, Petr Bena benap...@gmail.com
and 3.1rc3.
Does anyone have any ideas?
Thanks,
Parag Chandra
Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com/IonicSigHz.png]https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 2285, Atlanta, GA 30309
--
Powered by www.kitware.com
Have you tried the CMake variables LIBRARY_OUTPUT_PATH and
EXECUTABLE_OUTPUT_PATH? I¹ve been using them to accomplish much the same
thing.
Parag Chandra
Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 2285, Atlanta, GA
Hi Daniel,
I've just been using:
target_link_libraries (TargetName -framework IOKit)
Which has been working perfectly for me. Then again, I am only trying to add
frameworks that are part of the OS. I haven't yet tried building my own
frameworks and linking those in.
Parag Chandra
Software
,
which is the productType entry inside the PBXNativeTarget section of the
generated Xcode project. This needs to be
com.apple.product-type.bundle.unit-test, but CMake sets it to
com.apple.product-type.bundle.
Is there any way to alter this value?
Thanks,
Parag Chandra
Software Engineer
Try running:
sudo make install
Instead.
On Feb 10, 2015, at 7:45 AM, Gunjan Gautam
gunjan.gemin...@gmail.commailto:gunjan.gemin...@gmail.com wrote:
Hi All,
While installing cmake using below option, I am facing the error in step 3.
Step1: ./bootstarp
Step2: make
step: make install
Error
Have you looked at CMAKE_LANG_FLAGS_CONFIG, e.g.
http://www.cmake.org/cmake/help/v3.1/variable/CMAKE_LANG_FLAGS_DEBUG.html
I've been using these for exactly the purpose you describe.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com
-expressions(7)
One of the generator expressions available to you is the current configuration,
so you may be able to conditionally add specific flags for each configuration.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com/IonicSigHz.png]https
' command.
Parag Chandra
Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com/IonicSigHz.png]https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
From: Daniel Sáez danst...@gmail.commailto:danst...@gmail.com
Date: Friday
Yes, you need to set them in the toolchain file - at least, that is how I
did it for NaCl.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
On 5/1/15, 10:29 AM, Robert
. The build completes by installing all *.so files to corresponding
paths in the source tree so Gradle/Android Studio can find them
5. Open Android Studio build everything
6. Deploy to device
Does this sound about right?
On Thu, Apr 30, 2015 at 10:11 PM, Parag Chandra pa...@ionicsecurity.com
wrote
Windows VMs at the moment, so if you try it our
yourself, I would be very interested in hearing your results.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com/IonicSigHz.png]https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE
.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
On 4/30/15, 4:46 PM, Robert Dailey rcdailey.li...@gmail.com wrote:
On Wed, Mar 11, 2015 at 11:42 AM, Robert Dailey
(CMAKE_STATIC_LIBRARY_SUFFIX .a)
set (CMAKE_EXECUTABLE_SUFFIX .pexe CACHE STRING FORCE)
set (CMAKE_SHARED_LIBRARY_PREFIX lib)
set (CMAKE_SHARED_LIBRARY_SUFFIX .so)
Hope this helps.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
Ionic Security Inc
I asked about this a while back; I think it comes up repeatedly. The short
answer seems to be that this is not supported, by design, so I have simply
taken to post-processing the generated solutions with Python/Gradle
scripts. Not ideal, but it has been working well enough for me.
Parag
. You’ll also have to
take stock of the default flags Xcode enables and ‘blacklist’ those.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
On 5/18/15, 1:20 PM, Paul
:
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
Hope this works for you too.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com/IonicSigHz.png]https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
for Android:
https://github.com/taka-no-me/android-cmake/blob/master/android.toolchain.c
make
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
On 4/1/15, 12:58 PM, Jason
Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
On 4/2/15, 8:15 AM, Jason Cooper cm...@lakedaemon.net wrote:
Parag,
On Wed, Apr 01, 2015 at 05:43:25PM +, Parag Chandra
variable. Now that it is a variable, you can
override this behavior simply by passing ³MY_BUILD_ONLY_ACTIVE_ARCH=NO² to
xcodebuild when you run it on the command line.
Hope this helps.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
Ionic Security Inc
Somewhat related: CLion, the new C/C++ IDE from JetBrains, uses CMake directly
as its project system:
https://www.jetbrains.com/clion/
Not free, but also cross-platform.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com/IonicSigHz.png
dependency of the same
name.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com/IonicSigHz.png]https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
From: Ette, Anthony (CDS)
anthony.r.e
. In that case, the find_library isn’t
even needed.
Things do get a little more complicated when you want to distinguish between
release/debug variants of the same library. For that you can use the DEBUG and
OPTIMIZED keywords of target_link_libraries().
Parag Chandra
Senior Software Engineer, Mobile Team
this
pretty messy.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com/IonicSigHz.png]https://ionic.com
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
From: Glenn Coombs glenn.coo...@gmail.commailto:glenn.coo
(or none at all), yields the
following error:
CMake Error at CMakeLists.txt:5 (project):
Visual Studio 14 2015 supports Windows Store '8.0' and '8.1', but not
'10.0'. Check CMAKE_SYSTEM_VERSION.
Is this supported yet?
Thanks,
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile
Couldn’t you use the source_group() command to do this? That is how I
arbitrarily group my source files into folders within Visual Studio.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com/IonicSigHz.png]https://ionic.com
Ionic Security
that I essentially copy all the important flags from
existing configurations that CMake is already going to create, and then
later on in my CMakeLists I adjust them as needed.
Hope this helps.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
https://ionic.com
to be able to target Windows Phone and Android.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
<https://ionic.com>
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
On 10/29/15, 10:21 AM, "CMake on behalf of Michael Jaentsch&qu
-DCMAKE_SYSTEM_VERSION=8.1 –G”Visual Studio 12
2013” -DCMAKE_GENERATOR_PLATFORM=ARM
Hope this helps.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com/IonicSigHz.png]<https://ionic.com>
Ionic Security Inc.
1170 Peachtree St. NE S
the necessary
include paths in it and manually re-run it, then the command would succeed?
Maybe you need to explicitly set the supported LANGUAGES in your project()
command so that it includes both assembly and C?
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
As a diagnostic measure, can you try running in verbose mode, ala:
make VERBOSE=1
That will dump out the exact command lines that are being used, so you can see
the search paths.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com
If I’m not mistaken, anything you place after a ‘—‘ (that’s two dash
characters) will be passed directly to the underlying build tool that cmake is
driving. See here:
https://cmake.org/cmake/help/v3.3/manual/cmake.1.html
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile
dependencies
(including Boost) in locations outside of the CMAKE_FIND_ROOT_PATH, and I
didn’t want to relocate them all inside CMAKE_FIND_ROOT_PATH to satisfy the
ONLY option.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com
“add_dependencies” to tie these targets back to your original ones? So
something like:
add_custom_target(“test_print” …)
add_dependencies(test test_print)
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
<https://ionic.com>
Ionic Security Inc.
1170 Peacht
aries in the first place. Probably
not the answer you’re looking for, but I’m sure you can write a custom
post-build step in CMake to do the same.
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
On 8/23/16, 3:
se it became apparent that Google wasn’t putting much effort into
keeping it a going concern when the equivalent Linux/MacOSX toolchains worked
just fine. I guess things have improved since then?
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ionic Security Inc.
1170 Peachtree S
in there that will disable doc
generation completely.
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
From: Homero Cardoso de Almeida <homero...@gmail.com>
Date: Tuesday, October 25, 2016 at 9:28 AM
To: Parag Chand
.
At this point, I’ve probably strayed too far from the intent of this mailing
list, but I’m happy to discuss further with you offline.
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
On 10/25/16, 9:48 AM
off from 2.8.9; it
just might be the version of CMake they happened to download at the time,
rather than a hard requirement on it.
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
From: Homero Cardoso de
to me that if no
SPHINX output formats are enabled, then doc generation should be skipped.
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
From: Homero Cardoso de Almeida <homero...@gmail.com>
I believe the protobuf-config.cmake.in generates a protobuf-config.cmake file
once you actually use CMake to build protobuf itself.
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
From: CMake <cm
-tell-cmake-to-use-clang-on-windows
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
On 11/21/16, 12:33 PM, "CMake on behalf of Peter Jansen"
<cmake-boun...@cmake.org on behalf of p.jan...@comput
I’m not sure if the toolset parameter will have any effect if you’re *not* also
going to output vcxproj files, but can you try “v140_clang_c2” as the toolset?
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA
it all the necessary cmd
line args I need, so I just tacked on this bit of Python to the end of my
Gradle script.
Hope this helps.
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
On 11/19/16, 3:56 PM
Presumably you’ve tried this?
https://developer.android.com/studio/projects/add-native-code.html
Keep in mind that this is going to use Google’s cross-toolchain file, which may
be incompatible with what you already have.
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
_libraries() directly, I invoke this macro
with similar syntax:
LinkOnlyIfLibraryIsTarget(executableName library1 library2 library3)
Hope this helps.
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
On 12/12/1
in each of the 5 projects that
needs it. You might even be able to do this once, in a separate .cmake file, as
either a function or macro, and then simply include() that .cmake file in each
of the 5 projects for better maintenance.
Parag Chandra
Technical Lead, Mobile Team
Mobile
EVELOPER_ROOT} ${CMAKE_IOS_SDK_ROOT} ${CMAKE_PREFIX_PATH} CACHE
string "iOS find search path root")
# default to searching for frameworks first
set (CMAKE_FIND_FRAMEWORK FIRST)
# set up the default search directories for frameworks
set (CMAKE_SYSTEM_FRAMEWORK_PATH
${CMAKE_IOS
may be helpful:
https://cmake.org/cmake/help/v3.7/command/find_library.html
https://cmake.org/cmake/help/v3.7/command/if.html
Parag Chandra
Technical Lead, Mobile Team
Mobile: +1.919.824.1410
Ionic Security Inc.
1170 Peachtree St. NE STE 400, Atlanta, GA 30309
From: CMake <cmake-b
55 matches
Mail list logo