@@ -23,6 +23,8 @@
# Cmake Input File for unittests
#####################################################
+if (USE_CPPUNIT)
+
project( unitests )
set ( SRCS
@@ -47,3 +49,5 @@ target_link_libraries ( unittests
remote
cppunit
)
+endif ()
@@ -16,6 +16,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
############################################################################## */
+#ifdef _USE_CPPUNIT
#include "platform.h"
#include "jlib.hpp"
#include "jlog.hpp"
@@ -101,3 +102,4 @@ int main(int argc, char* argv[])
return wasSucessful;
}
+#endif // _USE_CPPUNIT