[CMake] HP-UX ia64 (32bit) port

2019-06-28 Thread Earle Lowe
I have made an HP-UX port for CMAKE 3.15 It's not entirely optimal, because I took a small shortcut on fsevents in libuv by using the "no events" source also used by cygwin. HP-UX does have /dev/poll, so I think the AIX code could be used as a template for a proper implementation. It runs --versi

Re: [CMake] Header only libraries with code generated files...

2019-06-28 Thread Malfettone, Kris
I agree that is sounds like the right way and it is what I would like to use. However, before going through the work I just wanted to make sure it didn't suffer from the same quirks that add_custom_target does when dealing with code generation in different directory. As outlined in this blog p

Re: [CMake] CMake with FetchContent instead of Git Submodules

2019-06-28 Thread Dustyn Blasig
Wow, how did I miss that when I was looking through the page yesterday? That's exactly what I need ; ) I may try going one step further and adding a flag _USE_CLONE=ON that will do the full checkout to a repos directory, initialize the repo to the target tag, and then set FETCHCONTENT_SOURCE_DIR_

Re: [CMake] Header only libraries with code generated files...

2019-06-28 Thread Kyle Edwards
It sounds like you want to use the INTERFACE version of target_include_directories(): https://cmake.org/cmake/help/latest/command/target_include_directories.html What this means is "anything that links against interface library foo will also need to add these paths to its include directories." Yo

[CMake] Header only libraries with code generated files...

2019-06-28 Thread Malfettone, Kris
Hi all, I had a question about managing code generated header only libraries is a very large project. Currently, we have a very large project with many static and many generated files. The problem I have is that due to the size of the project many usages (exe's and libraries) of those code gen

Re: [CMake] Is this the rigth way to build a shared library?

2019-06-28 Thread Kyle Edwards
On Thu, 2019-06-27 at 22:24 -0700, dexter810 wrote: > This is my CMakeLists.txt which is successfully building a shared > library, I > just wanted to confirm if it's the right way and it:  > > cmake_minimum_required(VERSION 3.6) > project(main) > > > > include_directories( > ${CMAKE_CUR

Re: [CMake] String CONCAT issue

2019-06-28 Thread Rolf Eike Beer
Am 2019-06-28 08:52, schrieb vinay kumar Kotegowder: Hello, The snippet: set(SUITE_DIR /home/../abc) list(APPEND TEST_LSIT test_a001) Since there is a type here I bet this is not the original code that you have run. foreach(test ${TEST_LIST}) message(${test}) Please prefix

Re: [CMake] CMake with FetchContent instead of Git Submodules

2019-06-28 Thread Craig Scott
On Fri, Jun 28, 2019 at 12:18 PM Dustyn Blasig wrote: > 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 su

[CMake] CPack`ing a bunch of command line tools on OS/X

2019-06-28 Thread Torsten Robitzki
Hello, I try to pack a bunch of command line tools (and some additional data files) into an OS/X installer. When the installer is running, it should install / copy the command line tools and adjust the PATH variable (or what ever mean that comes close, to make the tools available). I use a super