Permalink
Browse files

Fixed issue with client not being build in the right directory

Just realised that the client executable wasn't being copied to the
bin directory. I've also added boiler plate code for the game
manager unit test, still unimplemented though.
  • Loading branch information...
1 parent d862b74 commit 2e5b49bf0b9ca6ce91e66748cbb5b3b36365966c @andrewfenn committed Jun 24, 2012
@@ -52,6 +52,7 @@ endif ()
link_libraries(Enet SQLite OgreMax)
+set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin/)
add_executable(client ${exe} ${client_source} ${shared_source})
add_dependencies(client SQLite)
@@ -1,6 +1,6 @@
/*
This file is part of Hardwar - A remake of the classic flight sim shooter
- Copyright © 2008-2010 Andrew Fenn
+ Copyright © 2008-2012 Andrew Fenn
Hardwar is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -42,8 +42,7 @@ endif ()
link_libraries(Enet SQLite)
-SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
-
+set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin/)
add_executable(server ${exe} ${folder_source} ${shared_source})
target_link_libraries(server
@@ -0,0 +1,21 @@
+#include <UnitTest++.h>
+
+#include "GameManager.h"
+
+using namespace Client;
+using namespace UnitTest;
+
+struct GameManagerFixture
+{
+ GameManagerFixture()
+ {
+ // TODO: Set Ogre::Root mock and create game manager instance
+ }
+
+ ~GameManagerFixture()
+ {
+
+ }
+
+ GameManager *gameManager;
+};

0 comments on commit 2e5b49b

Please sign in to comment.