@@ -304,6 +304,26 @@ if (LINUX)
set (CROWN_MAIN_SRC os/linux/main.cpp)
endif (LINUX)
+if (WINDOWS)
+ list (APPEND OS_HEADERS
+ os/win/OsWindow.h
+ os/win/TCPSocket.h
+ os/win/UDPSocket.h
+ os/win/OsFile.h
+ os/win/Thread.h
+ os/win/Mutex.h
+ os/win/Cond.h
+ )
+
+ list (APPEND OS_SRC
+ os/win/WinOS.cpp
+ set (CROWN_EXECUTABLE_NAME crown-win)
+ set (CROWN_MAIN_SRC os/win/main.cpp)
+endif(WINDOWS)
set (CROWN_SOURCES
${SRC}
${CORE_SRC}
@@ -66,7 +66,7 @@ OTHER DEALINGS IN THE SOFTWARE.
#include "IdTable.h"
// Core/Strings
-#include "String.h"
+#include "StringUtils.h"
#include "Hash.h"
#include "Path.h"
@@ -35,7 +35,7 @@ OTHER DEALINGS IN THE SOFTWARE.
#include "Renderer.h"
#include "DebugRenderer.h"
#include "Types.h"
#include "Args.h"
#include "Game.h"
#include <cstdlib>
@@ -30,7 +30,7 @@ OTHER DEALINGS IN THE SOFTWARE.
#include "Resource.h"
#include "DiskFile.h"
#include "Log.h"
namespace crown
{
@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
#include "ResourceManager.h"
@@ -2,7 +2,7 @@
#include "Filesystem.h"
#include "File.h"
#include "Bundle.h"