cmake build system + OS X support / cleanups for Humble Release #8

Merged
urkle merged 25 commits from OSX into boost 2014-01-01 23:13:17 +00:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit 1ce4970d62 - Show all commits

View File

@ -163,6 +163,8 @@ set(MAIN_SOURCE
src/sharedstate.cpp src/sharedstate.cpp
) )
source_group("MKXP Source" FILES ${MAIN_SOURCE} ${MAIN_HEADERS})
## Setup embedded source ## ## Setup embedded source ##
set(EMBEDDED_INPUT set(EMBEDDED_INPUT
@ -222,6 +224,8 @@ foreach(item ${EMBEDDED_INPUT})
ProcessWithXXD(EMBEDDED_SOURCE ${item} ${CMAKE_CURRENT_BINARY_DIR}) ProcessWithXXD(EMBEDDED_SOURCE ${item} ${CMAKE_CURRENT_BINARY_DIR})
endforeach() endforeach()
source_group("Embedded Source" FILES ${EMBEDDED_INPUT} ${EMBEDDED_SOURCE})
## Setup binding source ## ## Setup binding source ##
if (BINDING STREQUAL "MRI") if (BINDING STREQUAL "MRI")
@ -304,6 +308,8 @@ else()
message(FATAL_ERROR "Must choose a valid binding type. MRI, MRUBY, or NULL") message(FATAL_ERROR "Must choose a valid binding type. MRI, MRUBY, or NULL")
endif() endif()
source_group("Binding Source" FILES ${BINDING_SOURCE} ${BINDING_HEADERS})
## Setup main executable ## ## Setup main executable ##
if(APPLE) if(APPLE)
@ -328,6 +334,7 @@ link_directories(
add_executable(${PROJECT_NAME} MACOSX_BUNDLE add_executable(${PROJECT_NAME} MACOSX_BUNDLE
${MAIN_HEADERS} ${MAIN_HEADERS}
${MAIN_SOURCE} ${MAIN_SOURCE}
${BINDING_HEADERS}
${BINDING_SOURCE} ${BINDING_SOURCE}
${EMBEDDED_SOURCE} ${EMBEDDED_SOURCE}
) )