mirror of
https://github.com/imaginaryPineapple/OpenRayman.git
synced 2024-10-19 22:47:37 -04:00
Copy data directory into binary directory
This commit is contained in:
parent
9504fcb17f
commit
56fda34225
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -30,3 +30,6 @@
|
|||
|
||||
# Compiled Engine
|
||||
bin/
|
||||
|
||||
# CMake
|
||||
build/
|
||||
|
|
|
@ -6,9 +6,13 @@ add_executable(openrayman ${SOURCES})
|
|||
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/bin")
|
||||
target_link_libraries(openrayman glfw)
|
||||
|
||||
if (UNIX)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
|
||||
include_directories(${GTK3_INCLUDE_DIRS})
|
||||
link_directories(${GTK3_LIBRARY_DIRS})
|
||||
add_definitions(${GTK3_CFLAGS_OTHER})
|
||||
target_link_libraries(openrayman ${GTK3_LIBRARIES})
|
||||
endif()
|
||||
|
||||
file(COPY "${CMAKE_SOURCE_DIR}/data" DESTINATION "${CMAKE_SOURCE_DIR}/bin")
|
||||
|
|
|
@ -5,6 +5,5 @@
|
|||
|
||||
int openrayman::engine::run(const std::string& game)
|
||||
{
|
||||
openrayman::message_box::display("Test title", "This is a test of the message_box class.\nMultilines are supported.", false);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue