1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00

Very minor libpinproc build instruction update.

This commit is contained in:
preble
2009-11-15 11:53:18 -05:00
parent 7a39697f60
commit 4375cf0fd1
2 changed files with 5 additions and 7 deletions

View File

@@ -1,10 +1,8 @@
cmake_minimum_required(VERSION 2.6)
IF(APPLE)
# set( CMAKE_OSX_ARCHITECTURES ppc;i386 ) # Uncomment for universal binary
#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ../bin)
#set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ../bin)
#set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ../bin)
ENDIF(APPLE)
include_directories(/usr/local/include $ENV{EXTRA_INC})

View File

@@ -31,11 +31,11 @@ Note that libusb-1.0 must have been built and installed prior to this step. Thi
Download and install [CMake](http://www.cmake.org/cmake/resources/software.html). Then:
cd libpinproc
mkdir build; cd build
mkdir bin; cd bin
cmake ..
make
The CMakeLists.txt file is presently designed to be run from a directory inside the libpinproc directory. This will build both libpinproc and pinproctest. Binaries will be placed in the directory that make was run from.
The CMakeLists.txt file is presently designed to be run from a directory inside the libpinproc directory. This will build both libpinproc and pinproctest. Binaries will be placed in the directory that make was run from. We recommend 'bin', as it is the path expected by pypinproc.
Note: On some systems, it may be necessary to build libpinproc with the '-fPIC' option. To do this with cmake, instead of running 'cmake ..', run 'cmake .. -DCMAKE_CXX_FLAGS="-fPIC"'. Compiling without '-fPIC' may cause problems when building the python extensions on some 64-bit Linux machines.