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.

Comments (0)

Files changed (18)

 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 contents unchanged.
File contents unchanged.

ImageData.cpp

File contents unchanged.
File contents unchanged.

InternalCollections.cpp

File contents unchanged.

InternalCollections.h

File contents unchanged.

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

LevelCollection.h

File contents unchanged.

MainWindow.cpp

File contents unchanged.
File contents unchanged.

ModalLabel.cpp

File contents unchanged.
File contents unchanged.

PlayField.cpp

File contents unchanged.
File contents unchanged.
File contents unchanged.

StaticImage.cpp

File contents unchanged.
File contents unchanged.