From cb3d6a24e79b563b935dd9b594419430ed93bf72 Mon Sep 17 00:00:00 2001 From: Arseniy Shestakov Date: Thu, 27 Oct 2016 17:01:29 +0300 Subject: [PATCH] Cmake: cleanup for commit hash in build version Since it's available in lib we don't need to include it everywhere. --- AI/BattleAI/CMakeLists.txt | 1 - AI/EmptyAI/CMakeLists.txt | 1 - AI/StupidAI/CMakeLists.txt | 1 - AI/VCAI/CMakeLists.txt | 1 - client/CMakeLists.txt | 1 - launcher/CMakeLists.txt | 1 - server/CMakeLists.txt | 1 - test/CMakeLists.txt | 1 - 8 files changed, 8 deletions(-) diff --git a/AI/BattleAI/CMakeLists.txt b/AI/BattleAI/CMakeLists.txt index be9d8e994..c1697e5f5 100644 --- a/AI/BattleAI/CMakeLists.txt +++ b/AI/BattleAI/CMakeLists.txt @@ -5,7 +5,6 @@ include_directories(${Boost_INCLUDE_DIRS} ${CMAKE_HOME_DIRECTORY} ${CMAKE_HOME_D set(battleAI_SRCS StdInc.cpp - ${CMAKE_BINARY_DIR}/Version.cpp BattleAI.cpp main.cpp ) diff --git a/AI/EmptyAI/CMakeLists.txt b/AI/EmptyAI/CMakeLists.txt index 5ff9f6ee2..3f1208510 100644 --- a/AI/EmptyAI/CMakeLists.txt +++ b/AI/EmptyAI/CMakeLists.txt @@ -4,7 +4,6 @@ cmake_minimum_required(VERSION 2.6) include_directories(${Boost_INCLUDE_DIRS} ${CMAKE_HOME_DIRECTORY} ${CMAKE_HOME_DIRECTORY}/include ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_HOME_DIRECTORY}/lib) set(emptyAI_SRCS - ${CMAKE_BINARY_DIR}/Version.cpp CEmptyAI.cpp exp_funcs.cpp ) diff --git a/AI/StupidAI/CMakeLists.txt b/AI/StupidAI/CMakeLists.txt index c08ca53af..0a65eb261 100644 --- a/AI/StupidAI/CMakeLists.txt +++ b/AI/StupidAI/CMakeLists.txt @@ -5,7 +5,6 @@ include_directories(${Boost_INCLUDE_DIRS} ${CMAKE_HOME_DIRECTORY} ${CMAKE_HOME_D set(stupidAI_SRCS StdInc.cpp - ${CMAKE_BINARY_DIR}/Version.cpp StupidAI.cpp main.cpp ) diff --git a/AI/VCAI/CMakeLists.txt b/AI/VCAI/CMakeLists.txt index d1fc3cd58..067588178 100644 --- a/AI/VCAI/CMakeLists.txt +++ b/AI/VCAI/CMakeLists.txt @@ -10,7 +10,6 @@ include_directories(${Boost_INCLUDE_DIRS} ${CMAKE_HOME_DIRECTORY} ${CMAKE_HOME_D set(VCAI_SRCS StdInc.cpp - ${CMAKE_BINARY_DIR}/Version.cpp VCAI.cpp Goals.cpp AIUtility.cpp diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index ceaa3953e..45989848e 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -7,7 +7,6 @@ include_directories(${Boost_INCLUDE_DIRS} ${ZLIB_INCLUDE_DIR} ${FFMPEG_INCLUDE_D set(client_SRCS StdInc.cpp - ${CMAKE_BINARY_DIR}/Version.cpp ../CCallback.cpp battle/CBattleInterface.cpp diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index fe79d1f7e..21e78f639 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -20,7 +20,6 @@ set(launcher_settingsview_SRCS set(launcher_SRCS StdInc.cpp - ${CMAKE_BINARY_DIR}/Version.cpp ${launcher_modmanager_SRCS} ${launcher_settingsview_SRCS} main.cpp diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index b99bba439..563913bd2 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -6,7 +6,6 @@ include_directories(${Boost_INCLUDE_DIRS} ${ZLIB_INCLUDE_DIR}) set(server_SRCS StdInc.cpp - ${CMAKE_BINARY_DIR}/Version.cpp CGameHandler.cpp CVCMIServer.cpp CQuery.cpp diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 87debe54b..5bccda5d3 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -6,7 +6,6 @@ include_directories(${Boost_INCLUDE_DIRS}) set(test_SRCS StdInc.cpp - ${CMAKE_BINARY_DIR}/Version.cpp CVcmiTestConfig.cpp CMapEditManagerTest.cpp MapComparer.cpp