Re: [hatari-devel] OSx problems

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Thomas,

I do not find this place in CMakeLists.txt. I do not find add_dependencies in my CMakeLists file and it is not listed as a difference in your patch. In the file I just downloaded from Mercurial, line 86 is a blank line between find_package(Math) and find_package(ReadLine).


Bob C

On Jun 2, 2014, at 3:12 AM, Thomas Huth <th.huth@xxxxxx> wrote:

> Am Sun, 1 Jun 2014 16:41:57 -0500
> schrieb Bob Carpenter <hatari@xxxxxxxxxx>:
> 
>> Jerome,
>> 
>> It did finally work for me when I saw the updated CMakeLists.txt file
>> and I used the Unix Makefiles option instead of using Xcode for
>> compiling Hatari. I just upgraded to cmake 2.8.12.2. I would not
>> expect that to make a difference. Hopefully, it will be fixed soon so
>> the HatariHelp directory is created when using Xcode as well. Or will
>> I need to create the copy files build phase manually for the
>> HatariHelp directory?
> 
> Bob,
> 
> maybe there is still something missing in the CMakeLists.txt file for
> copying these files with XCode as well...
> Could you maybe try the following patch whether it makes a difference?
> 
> diff -r 37c259194168 src/CMakeLists.txt
> --- a/src/CMakeLists.txt	Mon Jun 02 09:47:23 2014 +0200
> +++ b/src/CMakeLists.txt	Mon Jun 02 10:10:49 2014 +0200
> @@ -86,6 +86,8 @@
> 	add_dependencies(hatari osx_bundle_dirs)
> 	set_source_files_properties(${GUIOSX_RSRCS}
> 			PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
> +	set_source_files_properties(${CMAKE_SOURCE_DIR}/doc/*.html ${CMAKE_SOURCE_DIR}/doc/images
> +			PROPERTIES MACOSX_PACKAGE_LOCATION Resources/English.lproj/HatariHelp)
> 
> # When building for Windows, add specific sources + method to compile ..rc files
> elseif(WIN32)
> 
> After applying this change, please re-generate the XCode project with
> CMake and build Hatari with the new project.
> 
> Thanks,
>  Thomas
> 
> 




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/