2011-07-13 04:13:33 +04:00
|
|
|
|
2011-10-09 19:41:47 +04:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
|
2011-07-13 04:13:33 +04:00
|
|
|
project(libshared)
|
|
|
|
|
2011-10-09 19:41:47 +04:00
|
|
|
include(GenerateExportHeader)
|
|
|
|
|
|
|
|
add_compiler_export_flags()
|
|
|
|
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
|
2011-07-13 04:13:33 +04:00
|
|
|
add_library(libshared SHARED libshared.cpp)
|
|
|
|
|
|
|
|
generate_export_header(libshared)
|
2011-10-09 19:41:47 +04:00
|
|
|
|
|
|
|
export(TARGETS libshared FILE Targets.cmake)
|