Просмотр исходного кода

Move install rule to appropriate CMakeLists.txt

Daniele Bartolini 12 лет назад
Родитель
Сommit
5df46e934a
2 измененных файлов с 2 добавлено и 3 удалено
  1. 1 3
      tools/CMakeLists.txt
  2. 1 0
      tools/compilers/CMakeLists.txt

+ 1 - 3
tools/CMakeLists.txt

@@ -11,8 +11,6 @@ include_directories(${INCLUDES} ${GTKMM_INCLUDE_DIRS})
 
 add_subdirectory(compilers)
 #add_subdirectory(editors/world-editor)
+add_subdirectory(editors/resource-browser)
 add_subdirectory(pycrown)
 
-install (FILES ${PROJECT_SOURCE_DIR}/compilers/resource-compiler.py DESTINATION bin)
-install (FILES ${PROJECT_SOURCE_DIR}/editors/resource-browser/resource-browser.py DESTINATION bin)
-

+ 1 - 0
tools/compilers/CMakeLists.txt

@@ -27,3 +27,4 @@ add_subdirectory(tga)
 install (TARGETS crown-compiler-utils DESTINATION lib)
 install (TARGETS resource-linker DESTINATION bin)
 install (TARGETS resource-hash DESTINATION bin)
+install (FILES resource-compiler.py DESTINATION bin)