1. Shlomi Fish
  2. ksokoban

Commits

Shlomi Fish  committed 63ca3c3

Made the files non-executable and enabled out-of-tree builds.

Now, one can run:

mkdir build
cd build
cmake ..
make

To build ksokoban. Previously it was impossible due to wrong include
directory settings.

The files were made non-executable for aesthetics' sake.

  • Participants
  • Parent commits 3ace134
  • Branches default

Comments (0)

Files changed (18)

File CMakeLists.txt

View file
  • Ignore whitespace
 project (ksokoban)
  
 find_package(KDE4 REQUIRED)
-include_directories(${KDE4_INCLUDES})
+include_directories(${KDE4_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})
  
 set(ksokoban_SRCS 
 	Bookmark.cpp
 )
  
 kde4_add_executable(ksokoban ${ksokoban_SRCS})
-target_link_libraries(ksokoban ${KDE4_KDEUI_LIBS} ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS})
+target_link_libraries(ksokoban ${KDE4_KDEUI_LIBS} ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS})

File History.cpp

  • Ignore whitespace
File contents unchanged.

File History.h

  • Ignore whitespace
File contents unchanged.

File ImageData.cpp

  • Ignore whitespace
File contents unchanged.

File ImageData.h

  • Ignore whitespace
File contents unchanged.

File InternalCollections.cpp

  • Ignore whitespace
File contents unchanged.

File InternalCollections.h

  • Ignore whitespace
File contents unchanged.

File LevelCollection.cpp

View file
  • Ignore whitespace
 #include "LevelCollection.h"
 
 #include "Map.h"
+#if 1
+#define GETUID() 501
+#else
 #ifndef WIN32
 #define GETUID() getuid()
 #else
 #define GETUID() 1000
 #endif
+#endif
 
 
 static inline unsigned long

File LevelCollection.h

  • Ignore whitespace
File contents unchanged.

File MainWindow.cpp

  • Ignore whitespace
File contents unchanged.

File MainWindow.h

  • Ignore whitespace
File contents unchanged.

File ModalLabel.cpp

  • Ignore whitespace
File contents unchanged.

File ModalLabel.h

  • Ignore whitespace
File contents unchanged.

File PlayField.cpp

  • Ignore whitespace
File contents unchanged.

File PlayField.h

  • Ignore whitespace
File contents unchanged.

File README

  • Ignore whitespace
File contents unchanged.

File StaticImage.cpp

  • Ignore whitespace
File contents unchanged.

File main.cpp

  • Ignore whitespace
File contents unchanged.