Visual Studio - headers added to CMakeLists.txt
This commit is contained in:
parent
93db635364
commit
d4bf0b6e99
@ -187,6 +187,76 @@ set(minetestserver_SRCS
|
||||
servermain.cpp
|
||||
)
|
||||
|
||||
# Want to see header files in solution explorer
|
||||
if(MSVC)
|
||||
set(common_HDRS
|
||||
log.h
|
||||
content_sao.h
|
||||
mapgen.h
|
||||
content_nodemeta.h
|
||||
content_mapnode.h
|
||||
auth.h
|
||||
collision.h
|
||||
nodemetadata.h
|
||||
serverobject.h
|
||||
noise.h
|
||||
mineral.h
|
||||
porting.h
|
||||
materials.h
|
||||
defaultsettings.h
|
||||
mapnode.h
|
||||
voxel.h
|
||||
inventory.h
|
||||
debug.h
|
||||
serialization.h
|
||||
light.h
|
||||
filesys.h
|
||||
connection.h
|
||||
environment.h
|
||||
server.h
|
||||
servercommand.h
|
||||
socket.h
|
||||
mapblock.h
|
||||
mapsector.h
|
||||
map.h
|
||||
player.h
|
||||
utility.h
|
||||
test.h
|
||||
sha1.h
|
||||
base64.h
|
||||
ban.h
|
||||
)
|
||||
set(minetest_HDRS
|
||||
${common_HDRS}
|
||||
content_mapblock.h
|
||||
content_cao.h
|
||||
mapblock_mesh.h
|
||||
farmesh.h
|
||||
keycode.h
|
||||
camera.h
|
||||
clouds.h
|
||||
clientobject.h
|
||||
guiMainMenu.h
|
||||
guiKeyChangeMenu.h
|
||||
guiMessageMenu.h
|
||||
guiTextInputMenu.h
|
||||
guiInventoryMenu.h
|
||||
guiPauseMenu.h
|
||||
guiPasswordChange.h
|
||||
guiDeathScreen.h
|
||||
client.h
|
||||
tile.h
|
||||
game.h
|
||||
main.h
|
||||
)
|
||||
set(minetestserver_HDRS
|
||||
${common_HDRS}
|
||||
)
|
||||
set(common_SRCS ${common_SRCS} ${common_HDRS})
|
||||
set(minetest_SRCS ${minetest_SRCS} ${minetest_HDRS})
|
||||
set(minetestserver_SRCS ${minetestserver_SRCS} ${minetestserver_HDRS})
|
||||
endif()
|
||||
|
||||
include_directories(
|
||||
${PROJECT_BINARY_DIR}
|
||||
${IRRLICHT_INCLUDE_DIR}
|
||||
|
Loading…
x
Reference in New Issue
Block a user