Initial cmake to build the LayerUtils lib and tests

This commit is contained in:
Christophe 2023-03-22 18:00:59 +01:00 committed by Christophe
parent d9f5dd7466
commit a41380f9fb
10 changed files with 888 additions and 25 deletions

View file

@ -0,0 +1,29 @@
/*
* Copyright (c) 2023-2023 Valve Corporation
* Copyright (c) 2023-2023 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Authors:
* - Christophe Riccio <christophe@lunarg.com>
*/
#include <vulkan/vulkan.h>
#include <gtest/gtest.h>
#include "../vk_layer_settings.h"
TEST(test_library_util, Something) {
EXPECT_TRUE(true);
EXPECT_FALSE(vku::IsLayerSetting("layer_name", "setting_key"));
}