-
-
Notifications
You must be signed in to change notification settings - Fork 623
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Initial linux support using SDL (#136)
* Initial linux support using SDL * fixed link error and gitignore * fix in working directory initialization (windows side) * Added README_Linux and fixed a few compilation issues in ubuntu * Rename main to main_Windows in Tests * Better default renderering backend selector * Added backlog terminal output on linux * added asserts on all missing vulkan function call results * added portable file dialogs also small tests update and cleanup * Added Editor compile target * linux ci * linux ci * cmake update * cmake update? * cmake * Editor_Windows fix * build test * make * build tools? * update * ubuntu 20.04 * fix? * cmake * build * build? * package linux build * updates, bump version * backslash to forward slash, eof newlines, add portable-file-dialogs license * xcopy needs backslash duh; update readme; * copy fix * updated readme * readme update * updated readme * updated readme * fix incorrect file encoding linux * paint tool fix * linux: add missing shaders * packaging update Co-authored-by: Turánszki János <[email protected]> Co-authored-by: Turanszki Janos <[email protected]>
- Loading branch information
1 parent
d3b18bc
commit 3cd9e77
Showing
61 changed files
with
3,532 additions
and
205 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
cmake_minimum_required(VERSION 3.7) | ||
|
||
project(WickedEngine) | ||
|
||
set(CMAKE_CXX_STANDARD 17) | ||
|
||
if (WIN32) | ||
set(PLATFORM "Windows") | ||
add_compile_definitions(WIN32=1) | ||
# add_compile_definitions(_WIN32=1) this is a given from the compiler | ||
elseif(UNIX) | ||
find_package(SDL2 REQUIRED) | ||
set(PLATFORM "SDL2") | ||
add_compile_definitions(SDL2=1) | ||
endif() | ||
|
||
add_subdirectory(WickedEngine) | ||
add_subdirectory(Tests) | ||
add_subdirectory(Editor) |
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,5 +1,5 @@ | ||
#include "stdafx.h" | ||
#include "App.h" | ||
#include "App_Windows.h" | ||
|
||
#include <ppltasks.h> | ||
|
||
|
File renamed without changes.
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,38 @@ | ||
find_package(Threads REQUIRED) | ||
|
||
add_executable(WickedEngineEditor | ||
main_${PLATFORM}.cpp | ||
$<$<STREQUAL:${PLATFORM},Windows>:App_${PLATFORM}.cpp> | ||
AnimationWindow.cpp | ||
CameraWindow.cpp | ||
DecalWindow.cpp | ||
Editor.cpp | ||
EmitterWindow.cpp | ||
EnvProbeWindow.cpp | ||
ForceFieldWindow.cpp | ||
HairParticleWindow.cpp | ||
IKWindow.cpp | ||
LayerWindow.cpp | ||
LightWindow.cpp | ||
MaterialWindow.cpp | ||
MeshWindow.cpp | ||
ModelImporter_GLTF.cpp | ||
ModelImporter_OBJ.cpp | ||
NameWindow.cpp | ||
ObjectWindow.cpp | ||
PaintToolWindow.cpp | ||
PostprocessWindow.cpp | ||
RendererWindow.cpp | ||
SoundWindow.cpp | ||
SpringWindow.cpp | ||
stdafx.cpp | ||
TransformWindow.cpp | ||
Translator.cpp | ||
WeatherWindow.cpp | ||
xatlas.cpp | ||
) | ||
|
||
target_link_libraries(WickedEngineEditor PUBLIC | ||
WickedEngine | ||
Threads::Threads | ||
) |
Oops, something went wrong.