# Latest

**URL:** https://discourse.cmake.org/latest.md?page=205

[Latest](https://discourse.cmake.org/latest.md) · [Categories](https://discourse.cmake.org/categories.md) · [Tags](https://discourse.cmake.org/tags.md)

**Page:** 206

---

## [custom targets not shown in my dependency graph](https://discourse.cmake.org/t/custom-targets-not-shown-in-my-dependency-graph/624)

<div class="topic-metadata">

**Author:** [@hex](https://discourse.cmake.org/u/hex)\
**Replies:** 1\
**Last updated:** [February 12, 2020, 9:49pm UTC](https://discourse.cmake.org/t/custom-targets-not-shown-in-my-dependency-graph/624 "2020-02-12T21:49:21Z")

</div>

hello, All my custom targets are missing in the graphviz dependency graph. The build has an executable that is dependent on them! How can I generate a dependency graph for custom targets? add\_executable( dummyExe ${CM…

---

## [Targets package and source\_package - created only when configured for Make or Ninja?](https://discourse.cmake.org/t/targets-package-and-source-package-created-only-when-configured-for-make-or-ninja/620)

<div class="topic-metadata">

**Author:** [@jwuttke](https://discourse.cmake.org/u/jwuttke)\
**Replies:** 3\
**Last updated:** [February 12, 2020, 8:48pm UTC](https://discourse.cmake.org/t/targets-package-and-source-package-created-only-when-configured-for-make-or-ninja/620 "2020-02-12T20:48:27Z")

</div>

The CPack help page says: "Inclusion of the CPack module adds two new build targets, package and package\_source". Craig Scott’s book says: these targets are only created if the project is configured for a Makefile or Nin…

---

## [CMake 3.17.0-rc1 is ready for testing](https://discourse.cmake.org/t/cmake-3-17-0-rc1-is-ready-for-testing/625)

<div class="topic-metadata">

**Author:** [@robert.maynard](https://discourse.cmake.org/u/robert.maynard)\
**Replies:** 0\
**Last updated:** [February 12, 2020, 7:19pm UTC](https://discourse.cmake.org/t/cmake-3-17-0-rc1-is-ready-for-testing/625 "2020-02-12T19:19:20Z")

</div>

I am proud to announce the first CMake 3.17 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.17 Release notes appear below and are also published at https…

---

## [local install vs install for CPack; absolute vs relative path](https://discourse.cmake.org/t/local-install-vs-install-for-cpack-absolute-vs-relative-path/623)

<div class="topic-metadata">

**Author:** [@jwuttke](https://discourse.cmake.org/u/jwuttke)\
**Replies:** 1\
**Last updated:** [February 12, 2020, 5:40pm UTC](https://discourse.cmake.org/t/local-install-vs-install-for-cpack-absolute-vs-relative-path/623 "2020-02-12T17:40:41Z")

</div>

CPack installer generators (at least some of them) forbid absolute paths. Of course I can adjust for that - but how then ensure that make install still does the local installation to the right absolute location?

---

## [How to make FindOpenAL prefer OpenAL Soft on macOS](https://discourse.cmake.org/t/how-to-make-findopenal-prefer-openal-soft-on-macos/618)

<div class="topic-metadata">

**Author:** [@McSinyx](https://discourse.cmake.org/u/McSinyx)\
**Replies:** 1\
**Last updated:** [February 12, 2020, 1:55pm UTC](https://discourse.cmake.org/t/how-to-make-findopenal-prefer-openal-soft-on-macos/618 "2020-02-12T13:55:50Z")

</div>

With openal-soft installed from Homebrew, setting OPENALDIR=$(brew --prefix openal-soft) does not seem to have any effect. This is tested on Travis for Alure (see builds 133 to 137). This is originally opened as issue 2…

---

## [Need help setting up variations of Descent 2 source on modern compilers IDE's.](https://discourse.cmake.org/t/need-help-setting-up-variations-of-descent-2-source-on-modern-compilers-ides/619)

<div class="topic-metadata">

**Author:** [@Joe\_Villa](https://discourse.cmake.org/u/Joe_Villa)\
**Replies:** 0\
**Last updated:** [February 12, 2020, 11:01am UTC](https://discourse.cmake.org/t/need-help-setting-up-variations-of-descent-2-source-on-modern-compilers-ides/619 "2020-02-12T11:01:01Z")

</div>

I need someone to help setting up the varations of descent 2 source code into modern IDE’s and getting them to compile. Your help would be greatly appreciated. Here’s chocolate descent https://github.com/InsanityBring…

---

## [Simple build performance comparison](https://discourse.cmake.org/t/simple-build-performance-comparison/603)

<div class="topic-metadata">

**Author:** [@ClausKlein](https://discourse.cmake.org/u/ClausKlein)\
**Replies:** 10\
**Last updated:** [February 10, 2020, 4:51pm UTC](https://discourse.cmake.org/t/simple-build-performance-comparison/603 "2020-02-10T16:51:41Z")

</div>

I have used python scripts that are based on the idea at https://mesonbuild.com/Simple-comparison.html to compare the setup and build time of different build tools/generators. see https://github.com/ClausKlein/build-per…

---

## [Library not found (Windows)](https://discourse.cmake.org/t/library-not-found-windows/574)

<div class="topic-metadata">

**Author:** [@Lander](https://discourse.cmake.org/u/Lander)\
**Replies:** 6\
**Last updated:** [February 7, 2020, 3:39pm UTC](https://discourse.cmake.org/t/library-not-found-windows/574 "2020-02-07T15:39:45Z")

</div>

Hello! This is my first post here! I am trying to do my first project with CMake and I am stuck. I am working with windows. Please, can you help me? Currently, there are two issues: I am trying to include an externa…

---

## [FindCUDAToolkit doesn't support CUPTI API](https://discourse.cmake.org/t/findcudatoolkit-doesnt-support-cupti-api/582)

<div class="topic-metadata">

**Author:** [@bytesoftly](https://discourse.cmake.org/u/bytesoftly)\
**Replies:** 3\
**Last updated:** [February 7, 2020, 2:05pm UTC](https://discourse.cmake.org/t/findcudatoolkit-doesnt-support-cupti-api/582 "2020-02-07T14:05:29Z")

</div>

I am just switching over from the deprecated FindCUDA to FindCUDAToolkit as recommended, however I notice the CUPTI API library, libcupti has been omitted from the script, whilst others such as cuFFT are present. Would i…

---

## [CTest Coverage Cmake Error](https://discourse.cmake.org/t/ctest-coverage-cmake-error/550)

<div class="topic-metadata">

**Author:** [@allen-barnett](https://discourse.cmake.org/u/allen-barnett)\
**Replies:** 8\
**Last updated:** [February 6, 2020, 6:49pm UTC](https://discourse.cmake.org/t/ctest-coverage-cmake-error/550 "2020-02-06T18:49:14Z")

</div>

I’m getting a CMake error from a CTest script calling ctest\_coverage( ... CAPTURE\_CMAKE\_ERROR xyz RETURN\_VALUE abc ) abc is 0 but xyz is 255 on return from the function. But I can’t figure what what’s going wrong. It’s…

---

## [where can I find a comprehensive documentation for commands such as find\_package?](https://discourse.cmake.org/t/where-can-i-find-a-comprehensive-documentation-for-commands-such-as-find-package/592)

<div class="topic-metadata">

**Author:** [@Tianfang\_Sun](https://discourse.cmake.org/u/Tianfang_Sun)\
**Replies:** 2\
**Last updated:** [February 6, 2020, 4:15pm UTC](https://discourse.cmake.org/t/where-can-i-find-a-comprehensive-documentation-for-commands-such-as-find-package/592 "2020-02-06T16:15:11Z")

</div>

Hi everyone. I’m just begin to get touch with the cmake and I’m wondering where can I find a complete document for the command. By complete I mean, for example, in the documentation for the find\_package here, it is not t…

---

## [CMake 3.16.4 available for download](https://discourse.cmake.org/t/cmake-3-16-4-available-for-download/584)

<div class="topic-metadata">

**Author:** [@robert.maynard](https://discourse.cmake.org/u/robert.maynard)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 5:47pm UTC](https://discourse.cmake.org/t/cmake-3-16-4-available-for-download/584 "2020-02-05T17:47:10Z")

</div>

We are pleased to announce that CMake 3.16.4 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! Changes in 3.16.4 since 3.16.3: B…

---

## [How to use CMake to cross-compile for Linux target using Wind River cross-compiler?](https://discourse.cmake.org/t/how-to-use-cmake-to-cross-compile-for-linux-target-using-wind-river-cross-compiler/580)

<div class="topic-metadata">

**Author:** [@DavidA](https://discourse.cmake.org/u/DavidA)\
**Replies:** 2\
**Last updated:** [February 5, 2020, 3:18pm UTC](https://discourse.cmake.org/t/how-to-use-cmake-to-cross-compile-for-linux-target-using-wind-river-cross-compiler/580 "2020-02-05T15:18:24Z")

</div>

We develop an application that runs on Intel processor under Linux using a Wind River toolset. The application is built on Windows using an Eclipse-based IDE, CDT and gnu make, using the Wind River cross-compiler. I wan…

---

## [cmake\_configuration\_types and 3rd party libraries](https://discourse.cmake.org/t/cmake-configuration-types-and-3rd-party-libraries/570)

<div class="topic-metadata">

**Author:** [@sghosh](https://discourse.cmake.org/u/sghosh)\
**Replies:** 1\
**Last updated:** [February 5, 2020, 10:43am UTC](https://discourse.cmake.org/t/cmake-configuration-types-and-3rd-party-libraries/570 "2020-02-05T10:43:22Z")

</div>

I am trying to create a custom cmake\_configuration\_type using the method as described here The issue I am facing is the correct linking of 3rd party libraries. E.g., when I create a custom configuration the executable is…

---

## [Makefiles: clean a target, make this more user friendly](https://discourse.cmake.org/t/makefiles-clean-a-target-make-this-more-user-friendly/427)

<div class="topic-metadata">

**Author:** [@Lieven](https://discourse.cmake.org/u/Lieven)\
**Replies:** 4\
**Last updated:** [February 4, 2020, 7:23pm UTC](https://discourse.cmake.org/t/makefiles-clean-a-target-make-this-more-user-friendly/427 "2020-02-04T19:23:56Z")

</div>

Hi, Would like to get your feeling and positions on the following proposal for a feature request. Use case: say a repository considered as 1 project many libraries many programs (as a result of combining functionalit…

---

## [Top project/ master project : vocabulary](https://discourse.cmake.org/t/top-project-master-project-vocabulary/412)

<div class="topic-metadata">

**Author:** [@Lieven](https://discourse.cmake.org/u/Lieven)\
**Replies:** 6\
**Last updated:** [February 4, 2020, 7:21pm UTC](https://discourse.cmake.org/t/top-project-master-project-vocabulary/412 "2020-02-04T19:21:39Z")

</div>

Just like Design patterns gives us vocabulary to identify the same thing,pattern. I would like to request a similar thing for cmake, and request that cmake itself provide an implementation. Thanks to FetchContent “other…

---

## [CTest leaves a file descriptor open before executing tests](https://discourse.cmake.org/t/ctest-leaves-a-file-descriptor-open-before-executing-tests/578)

<div class="topic-metadata">

**Author:** [@lfyuomr-gylo](https://discourse.cmake.org/u/lfyuomr-gylo)\
**Replies:** 0\
**Last updated:** [February 4, 2020, 6:26pm UTC](https://discourse.cmake.org/t/ctest-leaves-a-file-descriptor-open-before-executing-tests/578 "2020-02-04T18:26:56Z")

</div>

I have a problem with observing an extra file descriptor during my tests execution via ctest. I have described my issue here on StackOverflow: I have two questions (copied from my StackOverflow issue): Is it a bug…

---

## [CMake 3.15.7 available for download](https://discourse.cmake.org/t/cmake-3-15-7-available-for-download/575)

<div class="topic-metadata">

**Author:** [@robert.maynard](https://discourse.cmake.org/u/robert.maynard)\
**Replies:** 0\
**Last updated:** [February 4, 2020, 3:57pm UTC](https://discourse.cmake.org/t/cmake-3-15-7-available-for-download/575 "2020-02-04T15:57:07Z")

</div>

We are pleased to announce that CMake 3.15.7 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! Changes in 3.15.7 since 3.15.6: B…

---

## [Executing a complex command in CTest](https://discourse.cmake.org/t/executing-a-complex-command-in-ctest/541)

<div class="topic-metadata">

**Author:** [@Aurelien\_Coussat](https://discourse.cmake.org/u/Aurelien_Coussat)\
**Replies:** 2\
**Last updated:** [January 31, 2020, 1:30pm UTC](https://discourse.cmake.org/t/executing-a-complex-command-in-ctest/541 "2020-01-31T13:30:05Z")

</div>

Hi! I am trying to add a test to my project using add\_test. It works well when I provide simple commands. I am now trying to add a more complex test which should succeed when different commands succeed, i.e. I would …

---

## [Cmake-gui seems corrupted. Shows incomplete dialog box without any buttons](https://discourse.cmake.org/t/cmake-gui-seems-corrupted-shows-incomplete-dialog-box-without-any-buttons/562)

<div class="topic-metadata">

**Author:** [@Raghavendra\_R](https://discourse.cmake.org/u/Raghavendra_R)\
**Replies:** 1\
**Last updated:** [January 31, 2020, 8:58am UTC](https://discourse.cmake.org/t/cmake-gui-seems-corrupted-shows-incomplete-dialog-box-without-any-buttons/562 "2020-01-31T08:58:15Z")

</div>

Recently i updated to the new version 3.16.3 and since then i dont see the complete dialog box. I even reverted to little older version(3.15.5) there too, i see the same problem. Please refer the snapshot attached for t…

---

## [Cannot compile in AIX using c-compiler](https://discourse.cmake.org/t/cannot-compile-in-aix-using-c-compiler/549)

<div class="topic-metadata">

**Author:** [@zeigercap1](https://discourse.cmake.org/u/zeigercap1)\
**Replies:** 15\
**Last updated:** [January 29, 2020, 10:19pm UTC](https://discourse.cmake.org/t/cannot-compile-in-aix-using-c-compiler/549 "2020-01-29T22:19:36Z")

</div>

Trying to build executables from c-code in AIX (IBM version of Unix) using CMake. CMake downloaded and installed without incident. However, when giving it a test c-code file to build, it finds the c-compiler correctly, b…

---

## [CMake -\> Eclipse CDT4: how to prevent Eclipse from indexing files not in project?](https://discourse.cmake.org/t/cmake-eclipse-cdt4-how-to-prevent-eclipse-from-indexing-files-not-in-project/521)

<div class="topic-metadata">

**Author:** [@Rich\_von\_Lehe](https://discourse.cmake.org/u/Rich_von_Lehe)\
**Replies:** 3\
**Last updated:** [January 29, 2020, 3:30pm UTC](https://discourse.cmake.org/t/cmake-eclipse-cdt4-how-to-prevent-eclipse-from-indexing-files-not-in-project/521 "2020-01-29T15:30:16Z")

</div>

I’m not sure if this is just a shortcoming of Eclipse or not. I have a large source tree and also a CMake project that uses a small fraction of the source files in that tree. When I generate for Eclipse CDT4 and import…

---

## [How to rebuild a specific subdirectory?](https://discourse.cmake.org/t/how-to-rebuild-a-specific-subdirectory/547)

<div class="topic-metadata">

**Author:** [@DavidA](https://discourse.cmake.org/u/DavidA)\
**Replies:** 3\
**Last updated:** [January 29, 2020, 10:04am UTC](https://discourse.cmake.org/t/how-to-rebuild-a-specific-subdirectory/547 "2020-01-29T10:04:40Z")

</div>

Hi, I have a CMakeLists.txt file that builds an executable and includes add\_subdirectory() calls to build a series of dynamic libraries - one per subdirectory. This runs on Linux and uses the Ninja generator. With this…

---

## [How to build a multi-executable project](https://discourse.cmake.org/t/how-to-build-a-multi-executable-project/543)

<div class="topic-metadata">

**Author:** [@duodiscus92](https://discourse.cmake.org/u/duodiscus92)\
**Replies:** 2\
**Last updated:** [January 28, 2020, 7:52am UTC](https://discourse.cmake.org/t/how-to-build-a-multi-executable-project/543 "2020-01-28T07:52:20Z")

</div>

Hi everybody My project is made of many executable binary files (namely “modules”). My current directory structure is as follows : scav is the name of the toplevel directory It contains the directories src, bin, buil…

---

## [Update command failed](https://discourse.cmake.org/t/update-command-failed/434)

<div class="topic-metadata">

**Author:** [@David\_Dixon](https://discourse.cmake.org/u/David_Dixon)\
**Replies:** 8\
**Last updated:** [January 26, 2020, 4:56pm UTC](https://discourse.cmake.org/t/update-command-failed/434 "2020-01-26T16:56:05Z")

</div>

Does anyone know how to debug update command failures? When I run my ctest script by hand, the update step succeeds. When run through CI it fails. Update command failed: “git” “fetch” Where can I find information regar…

---

## [Tutorial Step 9 error](https://discourse.cmake.org/t/tutorial-step-9-error/533)

<div class="topic-metadata">

**Author:** [@mrichter](https://discourse.cmake.org/u/mrichter)\
**Replies:** 2\
**Last updated:** [January 22, 2020, 9:55pm UTC](https://discourse.cmake.org/t/tutorial-step-9-error/533 "2020-01-22T21:55:42Z")

</div>

Hello again. In setting up to build for step 9 of the online tutorial, I Get a different error than theone the tutorial says I should expect. I followed all the sintructions given up to the point wehre it says what sho…

---

## [Add include files for Github ExternalProject library](https://discourse.cmake.org/t/add-include-files-for-github-externalproject-library/529)

<div class="topic-metadata">

**Author:** [@prex](https://discourse.cmake.org/u/prex)\
**Replies:** 7\
**Last updated:** [January 22, 2020, 4:12pm UTC](https://discourse.cmake.org/t/add-include-files-for-github-externalproject-library/529 "2020-01-22T16:12:43Z")

</div>

I’m running out of ideas how to fix this. I have a CMakeList used by the catkin\_tools (ROS) build system. Furthermore, I’m using catkin\_simple, which defines some macros. However, the problem I have is more related to th…

---

## [CMake 3.16.3 available for download](https://discourse.cmake.org/t/cmake-3-16-3-available-for-download/530)

<div class="topic-metadata">

**Author:** [@robert.maynard](https://discourse.cmake.org/u/robert.maynard)\
**Replies:** 0\
**Last updated:** [January 21, 2020, 5:51pm UTC](https://discourse.cmake.org/t/cmake-3-16-3-available-for-download/530 "2020-01-21T17:51:53Z")

</div>

We are pleased to announce that CMake 3.16.3 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! Changes in 3.16.3 since 3.16.2: A…

---

## [Linux usage like help](https://discourse.cmake.org/t/linux-usage-like-help/524)

<div class="topic-metadata">

**Author:** [@regev.ran](https://discourse.cmake.org/u/regev.ran)\
**Replies:** 1\
**Last updated:** [January 20, 2020, 9:10pm UTC](https://discourse.cmake.org/t/linux-usage-like-help/524 "2020-01-20T21:10:37Z")

</div>

The question is: how to add a usage, linux-like, to cmake file? I have a lot of variables in my cmake files. I added Usage in the begining of the main cmake file, like this: if ( DEFINED USAGE ) message( … ) message(…

---

## [Help for integrating an CppTranspiler](https://discourse.cmake.org/t/help-for-integrating-an-cpptranspiler/527)

<div class="topic-metadata">

**Author:** [@freylax](https://discourse.cmake.org/u/freylax)\
**Replies:** 1\
**Last updated:** [January 20, 2020, 4:54pm UTC](https://discourse.cmake.org/t/help-for-integrating-an-cpptranspiler/527 "2020-01-20T16:54:28Z")

</div>

I need Help for integrating an Cpp Transpiler (Purescript to cpp see purescript-native-build. The custom command has the characteristics that it works on a set of input files and will produce an set of output files. If o…

[Previous page](https://discourse.cmake.org/latest.md?page=204)

[Next page](https://discourse.cmake.org/latest.md?page=206)
