Anyone Familiar with CMake?
If so, I’d love to talk to you! I’m trying to configure the CMake files so that they create the following:
- Linux distributable in tar.gz format
- Win32 distributable .zip format
- Source in tar.gz or .zip format
So far, I can get the Linux-based distributable in tar.gz format, but it is also creating a installer with the .sh extension, and it tries to do the following:
CPack: Create package using TZ
CPack: Install projects
CPack: - Run preinstall target for: gbgames-ld18
CPack: - Install project: gbgames-ld18
CPack: Compress package
CPack Error: Problem with tar_close(): No such file or directory
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: gbgames-ld18
make: *** [package] Error 1
I’m sure it has to do with the fact that I haven’t done much with the CMake files but tell it to use CPack, so it is trying to do default things, but I’m not sure how to configure it for what I want. Anyone willing to help? I’d appreciate it!