Browse Source

make file updated

mikymod 13 years ago
parent
commit
1a9e137a25
2 changed files with 13 additions and 3 deletions
  1. 7 3
      BUILD.txt
  2. 6 0
      src/CMakeLists.txt

+ 7 - 3
BUILD.txt

@@ -1,15 +1,19 @@
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 How to build Crown:
 How to build Crown:
 
 
-1. Create a folder named "build" in this directory.
+in root directory:
+
+1. $ mkdir build
 2. $ cd build
 2. $ cd build
 3. $ cmake ..
 3. $ cmake ..
-4. make
+4. $ make terrain
 
 
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 In order to select different build configurations you have to do the following:
 In order to select different build configurations you have to do the following:
 
 
-1. Create a folder named "build" in this directory.
+in root directory:
+
+1. $ mkdir build
 2. $ cd build
 2. $ cd build
 3. $ cmake-gui ..
 3. $ cmake-gui ..
 
 

+ 6 - 0
src/CMakeLists.txt

@@ -234,6 +234,11 @@ set (LINUX_HEADERS
 	os/linux/LinuxTimer.h
 	os/linux/LinuxTimer.h
 )
 )
 
 
+set (WIN_SRC
+#	os/win/WinTCPSocket.cpp
+#	os/win/WinUDPSocket.cpp
+)
+
 set (SOURCES
 set (SOURCES
 	${SRC}
 	${SRC}
 	${INCLUDES}
 	${INCLUDES}
@@ -258,6 +263,7 @@ set (SOURCES
 	${OS_HEADERS}
 	${OS_HEADERS}
 	${LINUX_SRC}
 	${LINUX_SRC}
 	${LINUX_HEADERS}
 	${LINUX_HEADERS}
+	${WIN_SRC}
 
 
 	${GL_SRC}
 	${GL_SRC}
 	${GL_HEADERS}
 	${GL_HEADERS}