why
This commit is contained in:
@@ -2,7 +2,7 @@ add_executable(ModulithEditor)
|
|||||||
|
|
||||||
target_sources(ModulithEditor
|
target_sources(ModulithEditor
|
||||||
PRIVATE
|
PRIVATE
|
||||||
src/main.cpp
|
"src/main.cpp"
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(ModulithEditor
|
target_link_libraries(ModulithEditor
|
||||||
|
|||||||
@@ -2,8 +2,12 @@ add_library(ModulithEngine STATIC)
|
|||||||
|
|
||||||
target_sources(ModulithEngine
|
target_sources(ModulithEngine
|
||||||
PRIVATE
|
PRIVATE
|
||||||
src/Engine.cpp
|
"src/Engine.cpp"
|
||||||
# add more cpp files here
|
)
|
||||||
|
|
||||||
|
target_precompile_headers(ModulithEngine
|
||||||
|
PRIVATE
|
||||||
|
"src/mepch.h"
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(ModulithEngine
|
target_include_directories(ModulithEngine
|
||||||
|
|||||||
5
ModulithEngine/src/mepch.h
Normal file
5
ModulithEngine/src/mepch.h
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#ifdef ME_PLATFORM_WINDOWS
|
||||||
|
#include <Windows.h>
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user