cmake + xcode : error 'Build setting PRODUCT_NAME undefined'-Collection of common programming errors
I’m using cmake 2.8.3 to generate a C/C++ project file for xcode 3.2.5 ; the build goes generally fine, but I have to manually set the “Product Name” each time I generate the xcode project (in Project / Edit Project Settings / Packaging).
If I fail to set this product name, xcode refuses to build the project, and exits reporting the following error :
Build setting PRODUCT_NAME undefined
Is it possible to set this value with cmake ? or go without defining a Product Name ?
Originally posted 2013-11-10 00:17:03.