diff --git a/CMakeLists.txt b/CMakeLists.txt index 93698f9..ef22693 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.2) project(Symmetry) @@ -41,6 +41,11 @@ elseif(UNIX AND NOT APPLE) find_library(SDL2_LIBRARY SDL2 HINTS libs/${SYMMETRY_BUILD_TYPE}/linux64_gcc REQUIRED) target_link_libraries(${PROJECT_NAME} ${SDL2_LIBRARY} ${LIB_PTHREAD} ${LIB_M} ${LIB_RT} ${CMAKE_DL_LIBS}) set(CMAKE_C_FLAGS "-Wall -Wno-undefined -std=c99") + #after build is complete create a link to assets folder + add_custom_command( + TARGET ${PROJECT_NAME} + POST_BUILD + COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_SOURCE_DIR}/assets ${CMAKE_BINARY_DIR}/assets) else() message(FATAL_ERROR "Unsupported Platform! Currently only Windows and Linux supported") endif(WIN32) diff --git a/README b/README index 763dcb3..88598a4 100644 --- a/README +++ b/README @@ -52,15 +52,17 @@ _________________ .. 2.36 CANCELED Deferred rendering? .. 2.37 TODO Fix mouse bugs on windows .. 2.38 TODO Physics -.. 2.39 TODO Variant type -.. 2.40 TODO Event Subsystem -.. 2.41 DONE Compile and test on windows -.. 2.42 TODO Array based string type comptible with cstring(char*) -.. 2.43 DONE Fix mouse bugs -.. 2.44 DONE Fix issues with opengl context showing 2.1 only -.. 2.45 TODO Improve this readme -.. 2.46 TODO ??? -.. 2.47 TODO Profit! +.. 2.39 TODO Allow passsing base path as commandline argument? +.. 2.40 TODO Validate necessary assets at game launch +.. 2.41 TODO Variant type +.. 2.42 TODO Event Subsystem +.. 2.43 DONE Compile and test on windows +.. 2.44 TODO Array based string type comptible with cstring(char*) +.. 2.45 DONE Fix mouse bugs +.. 2.46 DONE Fix issues with opengl context showing 2.1 only +.. 2.47 TODO Improve this readme +.. 2.48 TODO ??? +.. 2.49 TODO Profit! 1 Project Symmetry @@ -310,43 +312,51 @@ _________________ ~~~~~~~~~~~~~~~~~ -2.39 TODO Variant type +2.39 TODO Allow passsing base path as commandline argument? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +2.40 TODO Validate necessary assets at game launch +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +2.41 TODO Variant type ~~~~~~~~~~~~~~~~~~~~~~ -2.40 TODO Event Subsystem +2.42 TODO Event Subsystem ~~~~~~~~~~~~~~~~~~~~~~~~~ -2.41 DONE Compile and test on windows +2.43 DONE Compile and test on windows ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - State "DONE" from "TODO" [2017-03-14 Tue 00:32] -2.42 TODO Array based string type comptible with cstring(char*) +2.44 TODO Array based string type comptible with cstring(char*) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -2.43 DONE Fix mouse bugs +2.45 DONE Fix mouse bugs ~~~~~~~~~~~~~~~~~~~~~~~~ - State "DONE" from "TODO" [2017-03-01 Wed 00:45] -2.44 DONE Fix issues with opengl context showing 2.1 only +2.46 DONE Fix issues with opengl context showing 2.1 only ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - State "DONE" from "TODO" [2017-02-26 Sun 15:39] -2.45 TODO Improve this readme +2.47 TODO Improve this readme ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -2.46 TODO ??? +2.48 TODO ??? ~~~~~~~~~~~~~ -2.47 TODO Profit! +2.49 TODO Profit! ~~~~~~~~~~~~~~~~~ diff --git a/orgfile.org b/orgfile.org index 94a0a9b..9d6f2ad 100644 --- a/orgfile.org +++ b/orgfile.org @@ -92,6 +92,8 @@ All the code in this repository is under GPLv3, see LICENSE for more information Sticking with forward rendering for now and focusing on tools etc. ** TODO Fix mouse bugs on windows ** TODO Physics +** TODO Allow passsing base path as commandline argument? +** TODO Validate necessary assets at game launch ** TODO Variant type ** TODO Event Subsystem ** DONE Compile and test on windows