Better platform separation along with Windows implementation (Linux refactorings still untested)
This commit is contained in:
+1
-2
@@ -17,18 +17,17 @@ include_directories(
|
||||
set(SOURCE_FILES
|
||||
Platform.h
|
||||
UEFI.h
|
||||
UEFI.cpp
|
||||
main.cpp
|
||||
)
|
||||
if(WIN32)
|
||||
set(SOURCE_FILES ${SOURCE_FILES}
|
||||
Platform_Windows.cpp
|
||||
UEFI_Windows.cpp
|
||||
)
|
||||
endif()
|
||||
if(UNIX)
|
||||
set(SOURCE_FILES ${SOURCE_FILES}
|
||||
Platform_Linux.cpp
|
||||
UEFI_Linux.cpp
|
||||
)
|
||||
endif()
|
||||
source_group("" FILES ${SOURCE_FILES})
|
||||
|
||||
Reference in New Issue
Block a user