comparison CMakeLists.txt @ 209:9960642f0f45

abstraction of RestApi
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 28 Nov 2012 17:22:07 +0100
parents de640de989b8
children 96b7918a6a18
comparison
equal deleted inserted replaced
208:de640de989b8 209:9960642f0f45
109 Core/HttpServer/HttpHandler.cpp 109 Core/HttpServer/HttpHandler.cpp
110 Core/HttpServer/HttpOutput.cpp 110 Core/HttpServer/HttpOutput.cpp
111 Core/HttpServer/MongooseServer.cpp 111 Core/HttpServer/MongooseServer.cpp
112 Core/HttpServer/HttpFileSender.cpp 112 Core/HttpServer/HttpFileSender.cpp
113 Core/HttpServer/FilesystemHttpSender.cpp 113 Core/HttpServer/FilesystemHttpSender.cpp
114 Core/RestApi/RestApiPath.cpp
115 Core/RestApi/RestApiOutput.cpp
116 Core/RestApi/RestApi.cpp
114 Core/MultiThreading/BagOfRunnablesBySteps.cpp 117 Core/MultiThreading/BagOfRunnablesBySteps.cpp
115 Core/PngWriter.cpp 118 Core/PngWriter.cpp
116 Core/SQLite/Connection.cpp 119 Core/SQLite/Connection.cpp
117 Core/SQLite/FunctionContext.cpp 120 Core/SQLite/FunctionContext.cpp
118 Core/SQLite/Statement.cpp 121 Core/SQLite/Statement.cpp
161 # Build the unit tests if required 164 # Build the unit tests if required
162 if (BUILD_UNIT_TESTS) 165 if (BUILD_UNIT_TESTS)
163 include(${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleTestConfiguration.cmake) 166 include(${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleTestConfiguration.cmake)
164 add_executable(UnitTests 167 add_executable(UnitTests
165 ${GTEST_SOURCES} 168 ${GTEST_SOURCES}
166 UnitTests/main.cpp
167 UnitTests/MessageWithDestination.cpp 169 UnitTests/MessageWithDestination.cpp
170 UnitTests/RestApi.cpp
168 UnitTests/SQLite.cpp 171 UnitTests/SQLite.cpp
169 UnitTests/SQLiteChromium.cpp 172 UnitTests/SQLiteChromium.cpp
173 UnitTests/ServerIndex.cpp
170 UnitTests/Versions.cpp 174 UnitTests/Versions.cpp
171 UnitTests/Zip.cpp 175 UnitTests/Zip.cpp
172 UnitTests/ServerIndex.cpp 176 UnitTests/main.cpp
173 ) 177 )
174 target_link_libraries(UnitTests ServerLibrary CoreLibrary) 178 target_link_libraries(UnitTests ServerLibrary CoreLibrary)
175 endif() 179 endif()
176 180
177 181