Adding some more initial files
parent
57e932e3d1
commit
f1707c6598
|
@ -0,0 +1 @@
|
|||
build
|
|
@ -1,7 +1,14 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
project(KIMA2)
|
||||
|
||||
if(MSVC)
|
||||
add_compile_options(/W4 /WX)
|
||||
else()
|
||||
add_compile_options(-W -Wall -Werror)
|
||||
endif()
|
||||
|
||||
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
|
||||
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
|
||||
|
||||
add_subdirectory(src)
|
|
@ -0,0 +1 @@
|
|||
add_subdirectory("core")
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
set(CORE_HEADERS
|
||||
entity.h
|
||||
)
|
||||
set(CORE_SOURCES
|
||||
entity.cpp
|
||||
)
|
||||
|
||||
add_library(core STATIC ${CORE_SOURCES})
|
|
@ -0,0 +1,6 @@
|
|||
#include "entity.h"
|
||||
|
||||
Entity::Entity()
|
||||
{
|
||||
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef ENTITY_H
|
||||
#define ENTITY_H
|
||||
|
||||
class Entity
|
||||
{
|
||||
public:
|
||||
Entity();
|
||||
~Entity();
|
||||
private:
|
||||
int uuid{-1};
|
||||
};
|
||||
|
||||
#endif //ENTITY_H
|
Loading…
Reference in New Issue