Skip to content

Commit

Permalink
Update apps cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanh Nguyen committed Nov 17, 2014
1 parent cb9a8d4 commit d777d07
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions apps/slam/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
cmake_minimum_required(VERSION 2.8.7)
project(slam_app)

## demos
add_executable(main_on_images main_on_images.cc)
set_property(TARGET main_on_images PROPERTY FOLDER "lsd_slam/apps")
target_link_libraries(main_on_images ${ALL_LIBRARIES} ${OpenCV_LIBRARIES} "C:/projects/uni/dissertation/Libraries/icg_lsd_slam/lsd-slam/lib/lsd_slam.lib")

add_executable(main_live_odometry main_live_odometry.cc)
set_property(TARGET main_live_odometry PROPERTY FOLDER "lsd_slam/apps")
target_link_libraries(main_live_odometry ${ALL_LIBRARIES} ${OpenCV_LIBRARIES} "C:/projects/uni/dissertation/Libraries/icg_lsd_slam/lsd-slam/lib/lsd_slam.lib")

add_executable(sampleApp sampleApp.cpp)
set_property(TARGET sampleApp PROPERTY FOLDER "lsd_slam/apps")
target_link_libraries(sampleApp ${ALL_LIBRARIES} ${OpenCV_LIBRARIES} "C:/projects/uni/dissertation/Libraries/icg_lsd_slam/lsd-slam/lib/lsd_slam.lib")
cmake_minimum_required(VERSION 2.8.7)
project(slam_app)

## demos
#add_executable(main_on_images main_on_images.cc)
#set_property(TARGET main_on_images PROPERTY FOLDER "lsd_slam/apps")
#target_link_libraries(main_on_images ${ALL_LIBRARIES} ${OpenCV_LIBRARIES} "C:/projects/uni/dissertation/Libraries/icg_lsd_slam/lsd-slam/lib/lsd_slam.lib")

#add_executable(main_live_odometry main_live_odometry.cc)
#set_property(TARGET main_live_odometry PROPERTY FOLDER "lsd_slam/apps")
#target_link_libraries(main_live_odometry ${ALL_LIBRARIES} ${OpenCV_LIBRARIES} "C:/projects/uni/dissertation/Libraries/icg_lsd_slam/lsd-slam/lib/lsd_slam.lib")

## only this works at the moment
add_executable(sampleApp sampleApp.cpp)
set_property(TARGET sampleApp PROPERTY FOLDER "lsd_slam/apps")
target_link_libraries(sampleApp ${ALL_LIBRARIES} ${OpenCV_LIBRARIES} "C:/projects/uni/dissertation/Libraries/icg_lsd_slam/lsd-slam/lib/lsd_slam.lib")

0 comments on commit d777d07

Please sign in to comment.