29.07.2011 - fundamental new

This commit is contained in:
peri4
2011-07-29 08:17:24 +04:00
parent b21a0496cd
commit 29190ea465
49 changed files with 4704 additions and 1052 deletions

View File

@@ -1,11 +1,17 @@
project(pip)
cmake_minimum_required(VERSION 2.6)
include_directories(${CMAKE_CURRENT_SOURCE_DIR} .)
file(GLOB CPPS "*.cpp")
file(GLOB CPPS "pi*.cpp")
add_definitions(-O2 -g3 -Wall)
add_executable(pip ${CPPS})
add_library(pip SHARED ${CPPS})
if (${WIN32})
target_link_libraries(pip pthread ws2_32)
else (${WIN32})
target_link_libraries(pip pthread rt)
endif (${WIN32})
add_executable(pip_test "main.cpp")
if (${WIN32})
target_link_libraries(pip_test pip pthread ws2_32)
else (${WIN32})
target_link_libraries(pip_test pip pthread rt)
endif (${WIN32})