diff options
author | Pan Xiuli <xiuli.pan@intel.com> | 2016-07-13 15:23:52 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2016-07-20 17:35:32 +0800 |
commit | e855157eeb2be3896cdfc1cd1dd7690d00c2352f (patch) | |
tree | 3eddd9ac594c55348adb6c3f72eec18878efa10f /utests/CMakeLists.txt | |
parent | 0be8687edc5b7793ca0777480eac61dfaa922b41 (diff) | |
download | beignet-e855157eeb2be3896cdfc1cd1dd7690d00c2352f.tar.gz |
CMAKE: Make utests and benchmark not build for default
Now make will only make beignet library, if you want beignet utest or
benchmark you can use make utest and make benchmark to build them.
This will make build time for beignet shorter when utests are not
needed.
Signed-off-by: Pan Xiuli <xiuli.pan@intel.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'utests/CMakeLists.txt')
-rw-r--r-- | utests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utests/CMakeLists.txt b/utests/CMakeLists.txt index f56c4973..60317a54 100644 --- a/utests/CMakeLists.txt +++ b/utests/CMakeLists.txt @@ -375,3 +375,4 @@ ADD_DEPENDENCIES (utests utest_generator) ADD_EXECUTABLE(flat_address_space runtime_flat_address_space.cpp) TARGET_LINK_LIBRARIES(flat_address_space utests) +ADD_CUSTOM_TARGET(utest DEPENDS utest_run utests flat_address_space) |