Adapt build system to allow use of WebODF as part of a larger CMake project.
authorJos van den Oever <jos@vandenoever.info>
Tue, 15 May 2012 10:33:57 +0000 (12:33 +0200)
committerJos van den Oever <jos@vandenoever.info>
Tue, 15 May 2012 10:33:57 +0000 (12:33 +0200)
commit1b10fce46f26b7091547b28ea35101a4bcdb999f
treec79f825da5835372efed349ff4a01c1b53e37fbb
parent08aa2f8f584f47ec0e6b09ab47c3f7cdb96ffe7b
Adapt build system to allow use of WebODF as part of a larger CMake project.
All instances of CMAKE_BINARY_DIR and CMAKE_SOURCE_DIR are replaced with CMAKE_CURRENT_BINARY_DIR CMAKE_CURRENT_SOURCE_DIR. CMAKE_BINARY_DIR and CMAKE_SOURCE_DIR point to the project root, which is different when WebODF is used in a larger project.
CMakeLists.txt
programs/android/CMakeLists.txt
programs/firefoxextension/CMakeLists.txt
programs/nativeQtClient/CMakeLists.txt
programs/touchui/CMakeLists.txt
webodf/CMakeLists.txt