Browse Source

Updated documentation for builds on mac's.
(and moved README to markdown)

Brian O'Neill 10 years ago
parent
commit
64b4f6fbc7
3 changed files with 84 additions and 66 deletions
  1. 1 1
      CMakeLists.txt
  2. 0 65
      README
  3. 83 0
      README.md

+ 1 - 1
CMakeLists.txt

@@ -53,7 +53,7 @@ cmake_minimum_required (VERSION 2.8.3)
 include(CTest)
 ENABLE_TESTING()
 
-set (HPCC_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
+set(HPCC_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
 set(CMAKE_MODULE_PATH "${HPCC_SOURCE_DIR}/cmake_modules/")
 
 include(${HPCC_SOURCE_DIR}/version.cmake)

+ 0 - 65
README

@@ -1,65 +0,0 @@
-HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
- 
-
-http://hpccsystems.com
- 
-
-To build for Linux:
--------------------
-
-1. Check out sources (for example, to directory ~/hpcc)
-2. Create a build directory - either as a child of hpcc or elsewhere
-3. cd to the build directory
-4a.To create makefiles to build native release version for local machine, run
-cmake ~/hpcc
-4b.To create makefiles to build native debug version, run
-cmake -DCMAKE_BUILD_TYPE=Debug ~/hpcc
-4c.To create makefiles to build 32-bit version from 64-bit host, run
-cmake -DCMAKE_C_FLAGS:STRING="-m32 -march=i386" -DCMAKE_CXX_FLAGS:STRING="-m32 -march=i386" ~/hpcc
-5. To build the makefiles just created above, run
-make
-6. Executables will be created in ./<releasemode>/bin and ./<releasemode>/libs
-7. To create a .deb / ,rpm to install, run
-make package
-
- 
-To build for Windows:
----------------------
-
-1. Check out sources (for example, to directory c:\hpcc)
-2. Create a build directory - either as a child of hpcc or elsewhere
-3. cd to the build directory
-4. To create a Visual Studio project, run
-cmake c:\hpcc -G "Visual Studio 9 2008"
-The sln file hpccsystems-platform.sln will be created in the current directory, and will support debug and release targets
-5. To build the project, load the solution into the visual studio IDE and build in the usual way.
-6. Executables will be created in (for example) c:\hpcc\bin\<release_mode>
-
-To build client tools for Macintosh OSX:
-----------------------------------------
-
-1. Check out sources (for example, to directory ~/hpcc)
-2. You many need to install some 3rd-party dev packages using macports
-3. Create a build directory - either as a child of hpcc or elsewhere
-4. cd to the build directory
-5. Use clang to build the clienttools (gcc4.2 cores when compiling some of the sources):
-CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake ~/hpcc -DCLIENTTOOLS_ONLY
-5. To build the makefiles just created above, run
-make
-6. Executables will be created in ./<releasemode>/bin and ./<releasemode>/libs
-7. To create a .dmg to install, run
-make package
- 
- 

File diff suppressed because it is too large
+ 83 - 0
README.md