[CMake] Visual Studio 2015 solution issue

2015-11-24 Thread Grigore Silviu Cătălin
Hello, I am using cmake 3.4.0 to generate Visual Studio 2015 solution and projects for LLVM 3.6. I managed to generate the solution and build it, but I am not able to debug the executable files in Visual Studio. It seems that even on Debug configuration, C/C++>Optimization>Optimization is set to "

[CMake] Observation regarding Utilities/cmliblzma/CMakeLists.txt

2015-11-24 Thread Custin, Jay (CSC Sw Middleware)
After some rather extensive banging of my head on my desk trying to resolve a variable definition issue I finally tracked it down to the Utilities/cmliblzma/CMakeLists.txt file. Line 26 contains the following statement: CHECK_INCLUDE_FILE(inttypes.h HAVE_INTTYPES_H) Absolutely nothing wrong w

[CMake] Kernel driver Windows

2015-11-24 Thread Robert Bielik
I'd like to incorporate our Kernel driver (.sys) into our CMake build system. Has anyone done such a thing ? There are quite a few settings in VS2013 that are "special" when doing kernel mode drivers with WDK... Regards /R -- Powered by www.kitware.com Please keep messages on-topic and check

Re: [CMake] print a message during a specific build target

2015-11-24 Thread Parag Chandra
The if() statements are executed when CMake runs, because you’re basically adding logic to the “meta-build” process that generates your build system; not the build system itself. Maybe you can use “add_custom_target” to create targets which do nothing but print the desired message, and then use

Re: [CMake] xmlsec1 with cmake problem

2015-11-24 Thread Dmitrii Golub
I found answer to this question, just forgot to target_link_libraries(libcft -L/usr/local/lib) 2015-11-24 2:38 GMT+03:00 Dmitrii Golub : > Hello, > > 2 folders: > src/bin/cft.c <- cft target > src/cft/signature.c and src/cft/ssl.c <- libcft target > > So libcft target: > > pkg_search_module(XMLS