cmake: Add/test find_package/add_subdirectory support

This commit is contained in:
Juan Ramos 2023-03-31 12:37:22 -06:00 committed by Christophe
parent 280a68ef17
commit bedbde277e
11 changed files with 113 additions and 45 deletions

View file

@ -1,29 +0,0 @@
/*
* 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"));
}