Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I am making progress on building the windows version of the minheadle…
…ss vm with cmake.
- Loading branch information
Showing
21 changed files
with
287 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Free type plugin | ||
# Prefer freetype version that we build | ||
if(NOT HAVE_FreeType2) | ||
find_package(Freetype) | ||
if(FREETYPE_FOUND) | ||
include_directories(${FREETYPE_INCLUDE_DIRS}) | ||
set(HAVE_FreeType2 TRUE CACHE INTERNAL "Do we have FreeType?") | ||
set(FreeType2_LIBRARIES "${FREETYPE_LIBRARIES}" CACHE STRING "Do we have FreeType?") | ||
endif() | ||
endif() | ||
|
||
if(HAVE_FreeType2) | ||
add_vm_plugin_auto(FT2Plugin EXTERNAL) | ||
if(FreeType2_BuildDep) | ||
add_dependencies(FT2Plugin ${FreeType2_BuildDep}) | ||
endif() | ||
vm_plugin_link_libraries(FT2Plugin ${FreeType2_LIBRARIES}) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
execute_process(COMMAND "@FIX_CYGWIN_INSTALL_PERMISSIONS_BASH_SCRIPT@") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
InstallPrefix="@CMAKE_INSTALL_PREFIX@" | ||
|
||
chmod a+rwx "$InstallPrefix"/*.dll "$InstallPrefix"/*.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
if(WIN32) | ||
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/WindowsRuntimeLibraries.cmake") | ||
endif() | ||
|
||
if(PHARO_VM OR (SUPPORT_TRADITIONAL_DISPLAY AND ALLOW_SDL2)) | ||
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/SDL2.cmake") | ||
endif() |
Oops, something went wrong.