[CMake] Windows path too long

2016-09-06 Thread Robert Bielik
I have a problem with a VS 2015 project, where the build state path becomes too long: SeverityCodeDescription Project FileLineSuppression State Error MSB3491 Could not write lines to file "processor_withAVeryVeryLongName.dir\Release\processo.92BD73FC.tlog\processor_wit

[CMake] How to codesign .msi from WIX/CPack?

2016-09-06 Thread Eric Wing
I'm finally trying the WIX/CPack MSI generator. Pretty nice! One thing I need to do is instruct the build process to codesign via signtool.exe. I've managed to figure out how to codesign my .exe via a POST_BUILD add_custom_command step. But now I would like to make sure the .msi that gets generat

[CMake] add_custom_command dependencies from file?

2016-09-06 Thread Evgeniy Dushistov
Hi, I need to solve problem described here: https://cmake.org/pipermail/cmake/2005-August/007091.html Basically I have test.i (swig input): %module native %include "lib.hpp" %{ #include "lib.hpp" %} swig with -M option can tell that generated by it code depend on "lib.hpp", but how I can reus

[CMake] Job Posting: Software Developer at Kitware

2016-09-06 Thread Utkarsh Ayachit
Folks, I wanted to draw your attention to this job posting: https://www.smartrecruiters.com/kitware/90427842-software-developer The posting itself is quite general and targets multiple teams, so I figured I'd give a few more details on what our team is looking for. We are the VTK, ParaView, VTK-

Re: [CMake] works when I build using XCode, but not with CMake makefile

2016-09-06 Thread Cotton Candy
Peter, In XCode I have this list of "settings" that includes "Other Linker Flags" that I have set to "-lmysqlclient -lpthread -lm -lz" and "Other C++ Flags" that I have set to "-L/Applications/MAMP/Library/lib -lmysqlclient -lpthread -lz" Maybe these explain why things work when I build with XCode

Re: [CMake] works when I build using XCode, but not with CMake makefile

2016-09-06 Thread Peter Steinbach
Aaron, it's about the way that you compile your binary and link libmysqlclient into it. I guess (@all: please correct me if I am wrong) as I don't know how you use cmake to build your libraries/binaries, that you don't set the rpath of libmysqlclient inside your binary. Doing so will ensure t

Re: [CMake] works when I build using XCode, but not with CMake makefile

2016-09-06 Thread Peter Steinbach
Hi Mr. Cotton ;), is the location of libmysqlclient* available through DYLD_LIBRARY_PATH at runtime of your code? Best, P On 09/06/2016 10:56 AM, Cotton Candy wrote: Hi, I have a project that I originally coded up using XCode. It builds and runs just fine using XCode. Now I have tried to set u

[CMake] works when I build using XCode, but not with CMake makefile

2016-09-06 Thread Cotton Candy
Hi, I have a project that I originally coded up using XCode. It builds and runs just fine using XCode. Now I have tried to set up the same project using CMake to generate a makefile. The project builds 100% without any errors using 'make', but the resulting code doesn't work. I get error: dyld: Lib