# Check if cmake has the required version cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR) # Set name of our project to "unpacking-mice". project(unpacking-mice) set(LIBRARY_OUTPUT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/lib") set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/bin") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Dlong32=int") INCLUDE_DIRECTORIES(. src) LINK_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/lib) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/app)