Re: [CMake] Detect Clang as the CUDA compiler

2016-09-30 Thread Robert Maynard
Hi Andrew, I am not aware of anybody working on adding clang as a CUDA compiler. After a quick glance at the clang compiler flags it seems that very few / if any of the current NVCC logic could be reused for the clang compiler ( outside of toolkit location). On Wed, Sep 28, 2016 at 6:02 PM, Andre

Re: [CMake] Correct way to use ARMCC (Files in Modules/Compiler/ARMCC*)

2016-09-30 Thread Chuck Atkins
> > 1. Toolchain needs to be in a separate file > Yes, that is certainly best practice and makes the rest of the cross-compiling infrastructure just work better. > 2. That file needs to be called before the project line of your > CMakeLists.txt > You actually shouldn't be "calling" it at all.

[CMake] try_compile additional include FILES

2016-09-30 Thread J Decker
I've been playing with libressl; which has quite a few 'check_function_exists' In particular 'check-function-exists( inet_pton HAVE_INET_PTON )' this is failing, because, directly, there is no 'inet_pton' in windows, but by including ws2tcpip.h there is a #define that changes it to InetPton[A/W]

Re: [CMake] [cmake-developers] CPack [WiX] Customizations of individual features/components

2016-09-30 Thread Nils Gladitz
On 09/30/2016 08:43 AM, Roman Wüger wrote: Hello, I want to customize some with CPack generated *.wxs files. For example: directories.wxs is generated with only the TARGET_DIR. TARGETDIR (no underscore) is always the one and only root-directory element [1]. How can I add an additional d

Re: [CMake] [cmake-developers] CPack [WiX] Customizations of individual features/components

2016-09-30 Thread Stuermer, Michael SP/HZA-ZSEP
Hello Roman, directories are added automatically to the directories.wxs file if you use the install() command in cmake and set the DESTINATION to some subfolder: install(FILES DESTINATION "my/sufolder/path") To add completely new directories I'd suggest to use CPACK_WIX_EXTRA_SOURCES