OK, good to know.

Best,

Ayla

> On May 4, 2017, at 6:09 AM, Robert Maynard <robert.mayn...@kitware.com> wrote:
> 
> Hi,
> 
> By default the NSIS generator is enabled. 
> 
> On Wed, May 3, 2017 at 6:39 PM, Ayla Khan <a...@sci.utah.edu 
> <mailto:a...@sci.utah.edu>> wrote:
> That worked - thank you! Do I need to add NSIS manually for Windows 
> installers as well? It looks like CMake finds NSIS without any difficulty but 
> I’d rather be sure.
> 
> Thanks,
> 
> Ayla
> 
>> On May 3, 2017, at 2:56 PM, Robert Maynard <robert.mayn...@kitware.com 
>> <mailto:robert.mayn...@kitware.com>> wrote:
>> 
>> You will need to append the productbuild type to you CPACK_GENERATOR so it 
>> would look like SET(CPACK_GENERATOR "productbuild;STGZ;TGZ")
>> 
>> On Wed, May 3, 2017 at 4:14 PM, Ayla Khan <a...@sci.utah.edu 
>> <mailto:a...@sci.utah.edu>> wrote:
>> Thank you Robert. The CPACK_GENERATOR variable is currently set to 
>> “STGZ;TGZ”. When I installed Xcode, I made sure using xcode-select that the 
>> usual command line tools were installed. I can find productbuild in my PATH, 
>> but CPACK_BINARY_PRODUCTBUILD is off in CPackConfig.cmake. Do I need to 
>> explicitly set CPACK_BINARY_PRODUCTBUILD in my CMakeLists.txt, or do I 
>> append a type for packages to CPACK_GENERATOR? I assumed CPACK_GENERATOR was 
>> generated automatically.
>> 
>> Also, I’ve been working with Xcode 8 on OS X 10.11.6, and CPack is ignoring 
>> productbuild completely even if I set it using the generator flag. Command 
>> line tools were also set up using xcode-select.
>> 
>> Thanks,
>> 
>> Ayla
>> 
>> > On May 3, 2017, at 1:12 PM, Robert Maynard <robert.mayn...@kitware.com 
>> > <mailto:robert.mayn...@kitware.com>> wrote:
>> >
>> > Hi Ayla,
>> >
>> > The packages that are built when executing "make package" is determined by 
>> > the variable "CPACK_GENERATOR" inside your CPackConfig.cmake ( generally 
>> > located in the root of your build directory as it is configured ).
>> >
>> >
>> > On Fri, Apr 7, 2017 at 3:44 PM, Ayla Khan <a...@sci.utah.edu 
>> > <mailto:a...@sci.utah.edu>> wrote:
>> > I’m trying to build a Mac OS X installer package on 10.10.5 using Xcode 
>> > 7.2 tools with the CPack that ships with CMake 3.7.2. I can generate a 
>> > package from the CMake build directory if I call cpack directly on the 
>> > command line with -G productbuild, but not through the CMake build using 
>> > make package. Is there a CPack setting I need or some other build 
>> > configuration information? Is the Xcode version too old?
>> >
>> > Thanks,
>> >
>> > Ayla
>> > --
>> >
>> > Powered by www.kitware.com <http://www.kitware.com/>
>> >
>> > Please keep messages on-topic and check the CMake FAQ at: 
>> > http://www.cmake.org/Wiki/CMake_FAQ <http://www.cmake.org/Wiki/CMake_FAQ>
>> >
>> > Kitware offers various services to support the CMake community. For more 
>> > information on each offering, please visit:
>> >
>> > CMake Support: http://cmake.org/cmake/help/support.html 
>> > <http://cmake.org/cmake/help/support.html>
>> > CMake Consulting: http://cmake.org/cmake/help/consulting.html 
>> > <http://cmake.org/cmake/help/consulting.html>
>> > CMake Training Courses: http://cmake.org/cmake/help/training.html 
>> > <http://cmake.org/cmake/help/training.html>
>> >
>> > Visit other Kitware open-source projects at 
>> > http://www.kitware.com/opensource/opensource.html 
>> > <http://www.kitware.com/opensource/opensource.html>
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://public.kitware.com/mailman/listinfo/cmake 
>> > <http://public.kitware.com/mailman/listinfo/cmake>
>> >
>> 
>> 
> 
> 

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to