Mercurial > projects > qtd
diff CMakeLists.txt @ 273:2161595da42b
Unittest flags.
author | SokoL_SD |
---|---|
date | Mon, 28 Sep 2009 05:20:16 +0000 |
parents | 6cd923119ab1 |
children | f5606687c578 |
line wrap: on
line diff
--- a/CMakeLists.txt Thu Sep 24 13:33:59 2009 +0000 +++ b/CMakeLists.txt Mon Sep 28 05:20:16 2009 +0000 @@ -34,6 +34,7 @@ #option(GENERATE_DI_FILES "Generate *.di files with DC -H command" "OFF") set(GENERATE_DI_FILES OFF) ## Very experemental option. Temporary disabled. + set(all_packages Core Gui OpenGL Xml Svg Network WebKit CACHE INTERNAL "") ## Init D toolkit. @@ -188,6 +189,10 @@ add_definitions(-DCPP_SHARED) endif(D_IS_MARS) +if(UNITTEST) + add_d_versions(QtdUnittest) +endif(UNITTEST) + ## Bootstrap settings for QtD. set(DRCC ${CMAKE_BINARY_DIR}/tools/drcc/drcc CACHE INTERNAL "") set(DUIC ${CMAKE_BINARY_DIR}/tools/duic/duic CACHE INTERNAL "")