모든 프로젝트를 일괄적으로 빌드하는 경우 아래와 같이 사용합니다.
cmake_minimum_required(VERSION 2.6)
project(calibration)

add_subdirectory(./libHHCapture)
add_subdirectory(./libIFC)
add_subdirectory(./libHHWiFi)
add_subdirectory(./libHHNetwork)
add_subdirectory(./libAlgoCalibration)
add_subdirectory(./cricket)
add_subdirectory(./H100CalibrationClient)





cmake_minimum_required(VERSION 2.6)

project(calibration)


include_directories("../libIFC")

include_directories("../libHHCapture")

include_directories("../libHHNetwork")

include_directories("../libHHWiFi")


link_directories("../libIFC")

link_directories("../libHHCapture")

link_directories("../libHHWiFi")

link_directories("../libHHNetwork")


ADD_DEFINITIONS("-D_DEBUG")


add_executable(cricket 

                main.cpp

      HHCricketServer.cpp

                MySoundPlayer.cpp)


target_link_libraries(cricket pthread)

target_link_libraries(cricket asound)

target_link_libraries(cricket rt)

target_link_libraries(cricket HHWiFi)

target_link_libraries(cricket IFC)

target_link_libraries(cricket HHCapture)

target_link_libraries(cricket HHNetwork)




+ Recent posts