Re: [hatari-devel] OSx problems

[ Thread Index | Date Index | More Archives ]

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 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?


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(${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

After applying this change, please re-generate the XCode project with
CMake and build Hatari with the new project.


Mail converted by MHonArc 2.6.19+