Hi All,
I'm not sure if people are more active on here or Discourse right now, so
I'm cross-posting. Please reply on the Discourse thread if possible, but
I'll take whatever I can get : )
https://discourse.cmake.org/t/cuda-aarch64-cross-compile-fails-to-validate-nvcc/593
I am stuck trying to mak
Hi All,
We are trying to clean up our Visual Studio flow with CMake. However, we
are running into an issue with Intellisense not finding header files
properly if we use target_include_directories(). For instance, given the
simple example below, if we add the "global" include_directories() call
Int
0 PM Craig Scott wrote:
>
>
> On Fri, Oct 4, 2019 at 2:27 AM Dustyn Blasig wrote:
>
>> Hi All,
>>
>> I have been cleaning up our legacy CMake to use newer features (available
>> in 3.12+) including trying to use target_...() functions nearly
>> exclusi
Hi All,
I have been cleaning up our legacy CMake to use newer features (available
in 3.12+) including trying to use target_...() functions nearly
exclusively. As part of this, I was toying with cleaning up our use cases
for adding compiler flags and similar definitions using real targets and
targe
Hi All,
We have a build hierarchy of projects and generally we import needed
projects into higher-level projects with EXLUDE_FROM_ALL so only dependency
targets that are needed by the "uber" builds are built. However, if the
subdirectory build produces shared libraries, we need those shared
librar
ble with
> version 3.15.
> Le 22 juil. 2019 à 05:24 +0200, Dustyn Blasig , a écrit
> :
>
> Hi All,
>
> I am integrating a legacy Makefile with our CMake flow, and need to pass
> the name of a CMake library target to the Makefile via
> add_custom_command(). The library uses the OUT
city like the man-in-the-middle attacks?
I definitely like the download and configure once and reuse the download
offline part, that is useful!
On Mon, Jul 22, 2019 at 5:58 AM Craig Scott wrote:
>
>
> On Mon, Jul 22, 2019 at 10:37 AM Dustyn Blasig wrote:
>
>> Thanks for the in
Hi All,
I am integrating a legacy Makefile with our CMake flow, and need to pass
the name of a CMake library target to the Makefile via
add_custom_command(). The library uses the OUTPUT_NAME property to override
the default.
add_library(foo_lib SHARED ...)
set_target_properties(foo_lib PROPERTIES
mer, that CMake (and the underlying
tools) will guarantee the file is downloaded successfully even in the event
of a CTRL-C interruption or other signals?
On Sun, Jul 21, 2019 at 3:49 AM Craig Scott wrote:
>
>
> On Wed, Jul 17, 2019 at 12:59 PM Dustyn Blasig wrote:
>
>>
Hi All,
We are pulling some artifacts from Artifactory which provides a checksum
file along with the artifacts at .md5 or .sha256. If I do not
include URL_HASH, does CMake automatically check to see if such a checksum
file exists and use it's value for the hash check? Or is there a way to
provide
Hi All,
I'm sure there is a way to do this, but I'm not seeing it. I need to test a
compiler flag to know whether to enable it for our entire build. So I had
planned on using test_compile(), but I don't see a way to pass additional
compiler flags to test_compile() through CMAKE_FLAGS and there's n
_DIR_ for the
user. The former would only be done iff the repo doesn't already exist.
On Fri, Jun 28, 2019 at 5:25 AM Craig Scott wrote:
>
>
> On Fri, Jun 28, 2019 at 12:18 PM Dustyn Blasig wrote:
>
>> Hi All,
>>
>> I'm attempting to replace our use
Hi All,
I'm attempting to replace our use of git submodules with FetchContent flows
instead so we can pull pre-built packages if they already exist instead of
buildings locally.
However, I need to support a flow similar to Git submodules where
developers can edit a submodule and then rebuild the
Hi All,
I'm using execute_process to generate sources and additional CMakeLists.txt
file that then get included in the build. Is there a way for me to tell
CMake what source files my command relies on so it knows when it needs to
do a reconfiguration? For instance, if I touch the python script tha
Yay, just building ALL_BUILD.vcxproj directly worked! I did not realize we
didn't need to build the solution for things to work. Thanks!
On Mon, May 13, 2019 at 2:56 PM frodak17 wrote:
>
>
> On Mon, May 13, 2019 at 1:05 PM Dustyn Blasig wrote:
>
>> Hi All,
>>
ests. Give that a shot and see what happens along with the #2 way
> of calling msbuild.
>
> -Caleb
>
> On Mon, May 13, 2019 at 1:05 PM Dustyn Blasig wrote:
>
>> Hi All,
>>
>> I'm trying to switch from devenv to msbuild on the command line so we can
>>
Hi All,
I'm trying to switch from devenv to msbuild on the command line so we can
use the /m parallel build option. On devenv, I just build the ALL_BUILD
target and it builds properly. However, on msbuild, there are two issues.
1. If I specify the ALL_BUILD target on the command line directly, I
Hi All,
I'm curious if anyone has had success allowing two testing paths to coexist
well.
Currently, we are using CTest to run our test executables with `make test`.
However, on our Jenkins system, the build machines have the whole
development stack but the test machines do not. So we need a way
_tgt/IMPORTED_IMPLIB.html )
>
> Petr
>
> On Tue, 16 Apr 2019 at 21:37, Dustyn Blasig wrote:
>
>> Hi All,
>>
>> I'm trying to debug an issues where an imported shared library is showing
>> up in the linker command as not foun
Hi All,
I'm trying to debug an issues where an imported shared library is showing
up in the linker command as not found, but within the CMake generation the
target seems to exist.
# CMakeLists.txt
include(bar.cmake)
add_library(foo SHARED)
if(TARGET bar)
target_link_libr
Thx for the info.
Since CXX and CUDA are defined together in the project() command, I don't
see a way to inject code to use the CXX compiler if no CUDAHOSTCXX or
CMAKE_CUDA_HOST_COMPILER is given without replicating the CXX search. I
tried moving CUDA out to an enable_language(CUDA) call instead s
Hi All,
I'd like to understand the expectations with CMake 3.12+ with the following
setup.
project(foo LANGUAGES CXX CUDA)
By default, should the CUDACXX compiler be using the found compiler for CXX
for host-side compilation?
What I'm seeing is that host-side compilation for CUDA is not passing
Hi All,
I have a component similar to this setup ...
project(foo LANGUAGES CXX CUDA)
add_library(foo INTERFACE)
target_include_directories(foo INTERFACE )
add_library(bar OBJECT bar.cu)
target_link_libraries(bar PUBLIC foo)
When building *bar*, there is no "-I " in the command line f
l-computing.pro> wrote:
> Hi,
>
> That was my confusion as well: to my understanding, we should not try to
> combine enable_language(CUDA) with find_package(CUDA). They do not work
> together, either use one or another.
>
> Kind regards,
> - Dmitry.
>
> пт,
Hi All,
I can't find any documentation on the new-ish "native" CUDA support. I need
to know all the variables that we can use, and (for instance) whether
checking the CUDA version is now supported. When searching online, I'm
always directed to the old FindCUDA pages which don't seem to match what
get it to work
with zip files even though it seems like it should at this point. I'm
hoping the fetch and include as subdirectory will be a more stable approach.
On Tue, Mar 26, 2019 at 4:39 PM Craig Scott wrote:
>
>
> On Tue, Mar 26, 2019 at 4:02 AM Dustyn Blasig wrote:
>
>
Hi All,
I'm really struggling to use ExternalProject_Add() in our CMake project.
Based on the documentation, I was expecting the simplest Git-based external
project with all defaults to act just like using a Git submodule locked at
a specific commit.
include(ExternalProject)ExternalProject_Add(f
If there is some additional information needed, let me know. I'm mostly
looking for advice, so if this has never been done successfully, that would
be good to know as well. Thx!
On Fri, Dec 16, 2016 at 9:19 AM Dustyn Blasig wrote:
> Hello Everyone,
>
> I'm fairly new to C
Hello Everyone,
I'm fairly new to CMake, but have been learning as I try to migrate our
components from Make to CMake. We utilize Git and Submodules for many of
our components, along with the Atlassian tools like Bitbucket and Bamboo.
While I'm migrating the components to CMake, I was asked to fi
29 matches
Mail list logo