docs(file): added license documentation to the file source files
This commit is contained in:
parent
bcbe5c8d0f
commit
5ea177d928
3 changed files with 18 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
/*
|
||||
* Copyright (C) Tristan Franssen, <tristanfranssen@strawhats.nl>.
|
||||
*
|
||||
* 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
|
||||
|
||||
|
|
|
|||
10
src/file.c
10
src/file.c
|
|
@ -1,4 +1,12 @@
|
|||
#include <cosms-core/file.h>
|
||||
/*
|
||||
* Copyright (C) Tristan Franssen, <tristanfranssen@strawhats.nl>.
|
||||
*
|
||||
* 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 <stdio.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue