[CMake] CPack change file extension

2016-08-24 Thread tonka3...@gmail.com
Hey everybody, I try to rename the fileextension of my cpack zip file. So i use cpack -G ZIP to create the package and get my zip file. Now i need to rename these fileextension to another name, like microsoft did it with with docx word format, where the file is a zip file, but has the docx exte

Re: [CMake] CPack change file extension

2016-08-26 Thread tonka3...@gmail.com
> > DEPENDS PACKAGE > > WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) > > But when I call 'devenv cpack_zip_test.sln /Rebuild Debug /project > rename_zip.vcxproj', I would assume, that first the PACKAGE target is called, > and afterwards the 'rename_zi

Re: [CMake] Executing python though CMake and linking libraries

2016-11-25 Thread tonka3...@gmail.com
Hey, I think your actual working directory is wrong. I would recommend to use absolute paths for the python interperter (there is a find_package module for the interpreter) and maybe also for your script. The custom command support a workingdirectory variable as far as i know. Hope that help y

[CMake] best practice for bundling 3rdparty dependencies in windows

2017-02-19 Thread tonka3...@gmail.com
Hey @everybody, I have a question about best practice for app bundling especially 3rdparty libs. In Linux it is not some common to bundle 3rdparty libs with my application but in windows this is highly recommended. What’s a good way to bundle 3rdparty libs (mostly .dll, sometimes also .exe) in

[CMake] source_group for all subdirectories

2018-09-19 Thread tonka3...@gmail.com
Hey, I want to use cmakes source_group with regex. As long as the command is in the same file as my target everything works fine, but I want to set the source_group in my main CMakeLists.txt file, because I have many sub_directories. Is it possible to set a cmake config to pass it down to my s

Re: [CMake] Can I make ProjectGuid value in Visual Studio C++ project file (vcxproj) set manually?

2018-11-22 Thread tonka3...@gmail.com
Simple question. Why you want the same guid again? > Am 22.11.2018 um 10:49 schrieb Hyunjik Bae : > > Can I make ProjectGuid value in Visual Studio C++ project file (vcxproj) set > manually? > > Every time I create vcxproj files from CMake, the ProjectGuid is sometimes > changed. Other C++ pro