Przeglądaj źródła

Added some explanatory comments to IDE/Conents/CMakeLists.txt

cib 12 lat temu
rodzic
commit
bed8d2df58
1 zmienionych plików z 13 dodań i 0 usunięć
  1. 13 0
      IDE/Contents/CMakeLists.txt

+ 13 - 0
IDE/Contents/CMakeLists.txt

@@ -1,3 +1,16 @@
+# This CMakeLists.txt is a cross-platform alternative to the $Polycode/IDE/Build/$OS
+# build systems. 
+#
+# It also demonstrates how Polycode projects other than the IDE can be built.
+# First a few variables need to be set:
+# * POLYCODE_ROOT_DIR
+# * POLYCODE_RELEASE_DIR
+# * POLYCODE_CMAKE_DIR
+# * CMAKE_INSTALL_PREFIX
+# Then we can simply include ${POLYCODE_CMAKE_DIR}/PolycodeDependencies.cmake
+# After that, ${POLYCODE_DEPENDENCY_LIBS} will be set to the paths of our required
+# link libraries, which we can simply add to our IDE project with TARGET_LINK_LIBRARIES
+
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
 
 
 PROJECT(PolycodeIDE)
 PROJECT(PolycodeIDE)