From e50ab09e3cd992ee703209ee6b43257e60f1b018 Mon Sep 17 00:00:00 2001 From: Akiko Date: Sun, 7 Jun 2015 15:17:35 +0200 Subject: [PATCH] - set compiler explicit to wine version - updated distclean --- CMakeLists.txt | 4 ++++ cmake_distclean.sh | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c95c425..5157dfd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,10 @@ SET (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/pl SET (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib) # compiler settings +SET (CMAKE_C_COMPILER /usr/bin/winegcc) +SET (CMAKE_CXX_COMPILER /usr/bin/wineg++) +MESSAGE ("C-COMPILER: ${CMAKE_C_COMPILER}") +MESSAGE ("CXX-COMPILER: ${CMAKE_CXX_COMPILER}") IF (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") MESSAGE ("Unix-like system: ${CMAKE_SYSTEM_NAME}") SET (CMAKE_CXX_FLAGS "-std=c++1y -pthread -fdiagnostics-color=always -W -Wall -Wextra -Os") diff --git a/cmake_distclean.sh b/cmake_distclean.sh index 011a598..4b9203c 100755 --- a/cmake_distclean.sh +++ b/cmake_distclean.sh @@ -5,4 +5,9 @@ rm -rf CMakeFiles/ rm -rf Makefile rm -rf cmake_install.cmake +rm -rf G3D/CMakeCache.txt +rm -rf G3D/CMakeFiles/ +rm -rf G3D/Makefile +rm -rf G3D/cmake_install.cmake + Scripts/code_counter.sh -- 2.15.1