Skip to content

Commit

Permalink
Merge pull request #105 from IkerGalardi/master
Browse files Browse the repository at this point in the history
Compile editor on linux
  • Loading branch information
PanosK92 authored Aug 22, 2023
2 parents e7ea972 + da98888 commit f03bb30
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
26 changes: 18 additions & 8 deletions build_scripts/premake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -244,14 +244,24 @@ function editor_project_configuration()
end

-- Files
files
{
EDITOR_DIR .. "/**.rc",
EDITOR_DIR .. "/**.h",
EDITOR_DIR .. "/**.cpp",
EDITOR_DIR .. "/**.hpp",
EDITOR_DIR .. "/**.inl"
}
if os.target() == "windows" then
files
{
EDITOR_DIR .. "/**.rc",
EDITOR_DIR .. "/**.h",
EDITOR_DIR .. "/**.cpp",
EDITOR_DIR .. "/**.hpp",
EDITOR_DIR .. "/**.inl"
}
else
files
{
EDITOR_DIR .. "/**.h",
EDITOR_DIR .. "/**.cpp",
EDITOR_DIR .. "/**.hpp",
EDITOR_DIR .. "/**.inl"
}
end

-- Includes
includedirs { RUNTIME_DIR }
Expand Down
2 changes: 2 additions & 0 deletions runtime/Core/FileSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#pragma once

//= INCLUDES ===========
#include <vector>
#include <string>
#include "Definitions.h"
//======================

Expand Down

0 comments on commit f03bb30

Please sign in to comment.