Index: trunk/lib/CMakeLists.txt
===================================================================
--- trunk/lib/CMakeLists.txt	(revision 297)
+++ trunk/lib/CMakeLists.txt	(revision 297)
@@ -0,0 +1,12 @@
+PROJECT(FlairLibs)
+cmake_minimum_required(VERSION 2.8)
+include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
+
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/FlairCore)
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/FlairFilter)
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/FlairMeta)
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/FlairSensorActuator)
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/FlairSimulator)
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/FlairVisionFilter)
+
+
Index: trunk/lib/FlairCore/CMakeLists.txt
===================================================================
--- trunk/lib/FlairCore/CMakeLists.txt	(revision 294)
+++ trunk/lib/FlairCore/CMakeLists.txt	(revision 297)
@@ -28,6 +28,4 @@
 )
 
-SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
-
 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/nrt)
 if(NOT WIN32)
@@ -36,8 +34,8 @@
 
 add_custom_target(
-	compile_info
+	${PROJECT_NAME}_compile_info
 	COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
 )
 
-add_dependencies(FlairCore_rt compile_info)
-add_dependencies(FlairCore_nrt compile_info)
+add_dependencies(FlairCore_rt ${PROJECT_NAME}_compile_info)
+add_dependencies(FlairCore_nrt ${PROJECT_NAME}_compile_info)
Index: trunk/lib/FlairFilter/CMakeLists.txt
===================================================================
--- trunk/lib/FlairFilter/CMakeLists.txt	(revision 294)
+++ trunk/lib/FlairFilter/CMakeLists.txt	(revision 297)
@@ -43,10 +43,8 @@
 INSTALL(FILES ${HEADER_FILES} DESTINATION $ENV{FLAIR_ROOT}/flair-dev/include/${PROJECT_NAME})
 
-SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
-
 add_custom_target(
-	compile_info
+	${PROJECT_NAME}_compile_info
 	COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
 )
 
-add_dependencies(${PROJECT_NAME} compile_info)
+add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info)
Index: trunk/lib/FlairMeta/CMakeLists.txt
===================================================================
--- trunk/lib/FlairMeta/CMakeLists.txt	(revision 294)
+++ trunk/lib/FlairMeta/CMakeLists.txt	(revision 297)
@@ -43,10 +43,8 @@
 INSTALL(FILES ${HEADER_FILES} DESTINATION $ENV{FLAIR_ROOT}/flair-dev/include/${PROJECT_NAME})
 
-SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
-
 add_custom_target(
-	compile_info
+	${PROJECT_NAME}_compile_info
 	COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
 )
 
-add_dependencies(${PROJECT_NAME} compile_info)
+add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info)
Index: trunk/lib/FlairSensorActuator/CMakeLists.txt
===================================================================
--- trunk/lib/FlairSensorActuator/CMakeLists.txt	(revision 294)
+++ trunk/lib/FlairSensorActuator/CMakeLists.txt	(revision 297)
@@ -30,6 +30,4 @@
 FILE(GLOB SENSOR_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
 
-SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
-
 ADD_LIBRARY(${PROJECT_NAME}
 	${SENSOR_SRC}
@@ -45,7 +43,7 @@
 
 add_custom_target(
-	compile_info
+	${PROJECT_NAME}_compile_info
 	COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
 )
 
-add_dependencies(${PROJECT_NAME} compile_info)
+add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info)
Index: trunk/lib/FlairSimulator/CMakeLists.txt
===================================================================
--- trunk/lib/FlairSimulator/CMakeLists.txt	(revision 294)
+++ trunk/lib/FlairSimulator/CMakeLists.txt	(revision 297)
@@ -31,15 +31,13 @@
 FILE(GLOB SIMU_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
 
-SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
-
 add_custom_target(
-	compile_info
+	${PROJECT_NAME}_compile_info
 	COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
 )
 
 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/no_gl)
-add_dependencies(FlairSimulator_nogl compile_info)
+add_dependencies(FlairSimulator_nogl ${PROJECT_NAME}_compile_info)
 if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/gl)
-add_dependencies(FlairSimulator_gl compile_info)
+add_dependencies(FlairSimulator_gl ${PROJECT_NAME}_compile_info)
 endif()
Index: trunk/lib/FlairVisionFilter/CMakeLists.txt
===================================================================
--- trunk/lib/FlairVisionFilter/CMakeLists.txt	(revision 294)
+++ trunk/lib/FlairVisionFilter/CMakeLists.txt	(revision 297)
@@ -31,6 +31,4 @@
 FILE(GLOB SRC_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
 
-SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
-
 ADD_LIBRARY(${PROJECT_NAME}
 	${SRC_SRC}
@@ -46,9 +44,9 @@
 
 add_custom_target(
-	compile_info
+	${PROJECT_NAME}_compile_info
 	COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
 )
 
-add_dependencies(${PROJECT_NAME} compile_info)
+add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_compile_info)
 
 else()
