Commits

Leszek committed 239c694

Add installation and debug postfix

  • Participants
  • Parent commits 3f8faa1

Comments (0)

Files changed (2)

File CMakeLists.txt

 cmake_minimum_required(VERSION 2.8)
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
 
+set(CMAKE_DEBUG_POSTFIX "d")
+
 if (NOT MSVC)
     if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
         execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)

File lib/CMakeLists.txt

 include_directories(
     ${CMAKE_CURRENT_SOURCE_DIR}    
 )
+
+install(TARGETS pupiltracker
+        LIBRARY DESTINATION lib
+        ARCHIVE DESTINATION lib)
+install(DIRECTORY pupiltracker
+        DESTINATION include)