18.03.2013 - Bug fixes, add in/out speed diagnostic to PIProtocol, fixed PIConsole tab switch segfault, PIObject EVENT / EVENT_HANDLER mechanism update - new EVENT macros that use EVENT_HANDLER with raiseEvent implementation.
This allow compile check event for CONNECT and use EVENT as CONNECT target, also raise event now is simple execute EVENT function.
This commit is contained in:
@@ -1,22 +1,23 @@
|
||||
project(pip)
|
||||
find_package(Qt4)
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR} . ${QT_INCLUDES})
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${QT_INCLUDES} . ../peri4_widgets)
|
||||
file(GLOB CPPS "pi*.cpp")
|
||||
if (${WIN32})
|
||||
add_definitions(-Wall -O2)
|
||||
else (${WIN32})
|
||||
add_definitions(-Wall -O2 -g3)
|
||||
add_definitions(-Wall -O2 -g3 --fast-math)
|
||||
endif (${WIN32})
|
||||
add_library(pip SHARED ${CPPS})
|
||||
if (${WIN32})
|
||||
target_link_libraries(pip pthread ws2_32)
|
||||
target_link_libraries(pip pthread ws2_32 Iphlpapi)
|
||||
else (${WIN32})
|
||||
target_link_libraries(pip pthread rt)
|
||||
endif (${WIN32})
|
||||
add_executable(pip_test "main.cpp")
|
||||
if (${WIN32})
|
||||
target_link_libraries(pip_test pthread ws2_32 pip)
|
||||
target_link_libraries(pip_test pthread ws2_32 Iphlpapi pip)
|
||||
else (${WIN32})
|
||||
target_link_libraries(pip_test pthread rt pip ${QT_QTCORE_LIBRARY})
|
||||
target_link_libraries(pip_test pip ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} pcollection)
|
||||
endif (${WIN32})
|
||||
add_subdirectory(system_test)
|
||||
|
||||
Reference in New Issue
Block a user