QTfrontend/CMakeLists.txt
changeset 579 94db15de0392
parent 555 0376fdcc6322
child 591 11b40565b851
equal deleted inserted replaced
578:6b0af3860192 579:94db15de0392
    31 	else(DEFINED DATA_INSTALL_DIR)
    31 	else(DEFINED DATA_INSTALL_DIR)
    32 		set(HEDGEWARS_DATADIR ${CMAKE_INSTALL_PREFIX}/share/)
    32 		set(HEDGEWARS_DATADIR ${CMAKE_INSTALL_PREFIX}/share/)
    33 	endif(DEFINED DATA_INSTALL_DIR)
    33 	endif(DEFINED DATA_INSTALL_DIR)
    34 endif(WIN32 AND NOT UNIX)
    34 endif(WIN32 AND NOT UNIX)
    35 
    35 
    36 configure_file(${hedgewars_SOURCE_DIR}/QTfrontend/main.cpp.in 
    36 configure_file(${hedgewars_SOURCE_DIR}/QTfrontend/hwconsts.cpp.in 
    37 	${hedgewars_SOURCE_DIR}/QTfrontend/main.cpp)
    37 	${hedgewars_SOURCE_DIR}/QTfrontend/hwconsts.cpp)
    38 configure_file(${hedgewars_SOURCE_DIR}/QTfrontend/hwconsts.h.in 
       
    39 	${hedgewars_SOURCE_DIR}/QTfrontend/hwconsts.h)
       
    40 
    38 
    41 set(hwfr_src 
    39 set(hwfr_src 
    42 	game.cpp
    40 	game.cpp
    43 	main.cpp
    41 	main.cpp
    44 	hwform.cpp 
    42 	hwform.cpp 
    64 	newnetclient.cpp
    62 	newnetclient.cpp
    65 	netudpserver.cpp
    63 	netudpserver.cpp
    66 	netudpwidget.cpp
    64 	netudpwidget.cpp
    67 	chatwidget.cpp
    65 	chatwidget.cpp
    68 	binds.cpp
    66 	binds.cpp
    69 	SDLs.cpp)
    67 	SDLs.cpp
       
    68 	playrecordpage.cpp
       
    69 	hwconsts.cpp)
    70 
    70 
    71 if (WIN32)
    71 if (WIN32)
    72 	set(hwfr_src ${hwfr_src} res/hedgewars.rc)
    72 	set(hwfr_src ${hwfr_src} res/hedgewars.rc)
    73 endif (WIN32)
    73 endif (WIN32)
    74 
    74 
    94 	netconnectedclient.h
    94 	netconnectedclient.h
    95 	newnetclient.h
    95 	newnetclient.h
    96 	netudpserver.h
    96 	netudpserver.h
    97 	netudpwidget.h
    97 	netudpwidget.h
    98 	chatwidget.h
    98 	chatwidget.h
    99 	SDLs.h)
    99 	SDLs.h
       
   100 	playrecordpage.h)
   100 
   101 
   101 set(hwfr_hdrs
   102 set(hwfr_hdrs
   102 	binds.h
   103 	binds.h
   103 	ui_hwform.h
   104 	ui_hwform.h
   104 	predefteams.h
   105 	predefteams.h
   105 	KB.h
   106 	KB.h
       
   107 	hwconsts.h
   106 )
   108 )
   107 
   109 
   108 set(hwfr_rez
   110 set(hwfr_rez
   109 	hedgewars.qrc)
   111 	hedgewars.qrc)
   110 
   112