From bfcce26f8949f4ba42cc1bd8203dff51884aa0da Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Sat, 22 Jun 2013 01:11:37 +0200 Subject: Changes in build organization * targets are now created in top-level build directory * more things are now configured through CMake options * changed debug build detection from NDEBUG to DEV_BUILD * moved po and desktop directories * moved last unit test out of src directory --- src/po/CMakeLists.txt | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/po/CMakeLists.txt (limited to 'src/po/CMakeLists.txt') diff --git a/src/po/CMakeLists.txt b/src/po/CMakeLists.txt deleted file mode 100644 index 85b401c..0000000 --- a/src/po/CMakeLists.txt +++ /dev/null @@ -1,19 +0,0 @@ -cmake_minimum_required(VERSION 2.8) - -set(_potFile colobot.pot) - -find_program(XGETTEXT_CMD xgettext) - -add_custom_command(OUTPUT ${_potFile} - COMMAND ${XGETTEXT_CMD} ../app/app.cpp --output=${_potFile} - COMMAND ${XGETTEXT_CMD} ../common/restext.cpp --output=${_potFile} --join-existing --extract-all --no-location - - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - COMMENT "Extract translatable messages to ${_potFile}" -) - -add_custom_target(update-pot DEPENDS ${_potFile}) - -file(GLOB _poFiles *.po) -gettext_create_translations(${_potFile} ALL ${_poFiles}) - -- cgit v1.2.3-1-g7c22