diff --git a/CMakeLists.txt b/CMakeLists.txt index 83aacc5..7b179b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ target_include_directories(cosms-core PUBLIC ${PROJECT_SOURCE_DIR}/include) if (MSVC) target_compile_options(cosms-core PRIVATE /W4) else() - target_compile_options(cosms-core PRIVATE -wall -Wextra -pedantic) + target_compile_options(cosms-core PRIVATE -Wall -Wextra -pedantic) endif() add_executable(cosms-core-test ${PROJECT_SOURCE_DIR}/tests/main.c) diff --git a/include/cosms-core/file.h b/include/cosms-core/file.h index d29be8b..605a29d 100644 --- a/include/cosms-core/file.h +++ b/include/cosms-core/file.h @@ -1,3 +1,11 @@ +/* + * Copyright (C) Tristan Franssen, . + * + * This software is 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 in the file LICENSE or at + * http://www.apache.org/licenses/LICENSE-2.0 + */ #ifndef COSMS_CORE_FILE #define COSMS_CORE_FILE diff --git a/src/file.c b/src/file.c index bf321da..23b3617 100644 --- a/src/file.c +++ b/src/file.c @@ -1,4 +1,12 @@ -#include +/* + * Copyright (C) Tristan Franssen, . + * + * This software is 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 in the file LICENSE or at + * http://www.apache.org/licenses/LICENSE-2.0 + */ +#include "cosms-core/file.h" #include