Kaynağa Gözat

Added "lovec.exe" in Windows, which uses the console subsystem so love games don't need to set t.console to true if they want to output to the console.

Alex Szpakowski 9 yıl önce
ebeveyn
işleme
8c22b1bff2
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      CMakeLists.txt

+ 2 - 0
CMakeLists.txt

@@ -35,6 +35,7 @@ Please see http://bitbucket.org/rude/megasource
 endif()
 endif()
 
 
 set(LOVE_EXE_NAME love)
 set(LOVE_EXE_NAME love)
+set(LOVE_CONSOLE_EXE_NAME lovec)
 set(LOVE_LIB_NAME liblove)
 set(LOVE_LIB_NAME liblove)
 
 
 if(CMAKE_SIZEOF_VOID_P EQUAL 8)
 if(CMAKE_SIZEOF_VOID_P EQUAL 8)
@@ -1309,6 +1310,7 @@ endif()
 # love (executable)
 # love (executable)
 #
 #
 add_executable(${LOVE_EXE_NAME} WIN32 src/love.cpp ${LOVE_RC})
 add_executable(${LOVE_EXE_NAME} WIN32 src/love.cpp ${LOVE_RC})
+add_executable(${LOVE_CONSOLE_EXE_NAME} src/love.cpp ${LOVE_RC})
 target_link_libraries(love liblove)
 target_link_libraries(love liblove)
 
 
 # Add post build steps to move the DLLs next to the binary. Otherwise
 # Add post build steps to move the DLLs next to the binary. Otherwise