Build each library only once instead of once for each test.

This commit is contained in:
Stephen Kelly
2011-10-09 17:41:47 +02:00
parent c83cfd7a01
commit 08271ec7d3
4 changed files with 58 additions and 5 deletions
@@ -1,6 +1,16 @@
cmake_minimum_required(VERSION 2.8)
project(libshared)
include(GenerateExportHeader)
add_compiler_export_flags()
set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_library(libshared SHARED libshared.cpp)
generate_export_header(libshared)
export(TARGETS libshared FILE Targets.cmake)