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

Comments (0)

Files changed (18)

File CMakeLists.txt

 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

File contents unchanged.

File History.h

File contents unchanged.

File ImageData.cpp

File contents unchanged.

File ImageData.h

File contents unchanged.

File InternalCollections.cpp

File contents unchanged.

File InternalCollections.h

File contents unchanged.

File LevelCollection.cpp

 #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

File contents unchanged.

File MainWindow.cpp

File contents unchanged.

File MainWindow.h

File contents unchanged.

File ModalLabel.cpp

File contents unchanged.

File ModalLabel.h

File contents unchanged.

File PlayField.cpp

File contents unchanged.

File PlayField.h

File contents unchanged.

File README

File contents unchanged.

File StaticImage.cpp

File contents unchanged.

File main.cpp

File contents unchanged.