minor cmakelists cleanup

This commit is contained in:
Wolfgang Thaller 2019-01-22 18:29:03 +01:00
parent a993bd3f7f
commit c1839aed89
12 changed files with 1 additions and 24 deletions

View File

@ -1,6 +1,3 @@
cmake_minimum_required(VERSION 3.3)
find_program(LAUNCH_APPL LaunchAPPL PATH "${CMAKE_INSTALL_PREFIX}/../bin/")
execute_process(COMMAND ${LAUNCH_APPL} --list-emulators
OUTPUT_VARIABLE EMULATOR_LIST)

View File

@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with Retro68. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.8)
project(Retro)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)

View File

@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with Retro68. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required(VERSION 3.1)
find_package(Boost COMPONENTS REQUIRED)
add_executable(Elf2Mac

View File

@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with Retro68. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required(VERSION 2.8)
find_package(Boost COMPONENTS filesystem system REQUIRED)
add_library(ResourceFiles

View File

@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with Retro68. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required(VERSION 2.8)
find_package(Boost COMPONENTS wave filesystem system thread regex program_options)
# Look for bison.

View File

@ -21,8 +21,6 @@
# cmake .. -DCMAKE_TOOLCHAIN_FILE=path/to/Retro68-build/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake
# make
cmake_minimum_required(VERSION 2.8)
add_application(Dialog
dialog.c
dialog.r

View File

@ -4,8 +4,6 @@
# cmake .. -DCMAKE_TOOLCHAIN_FILE=path/to/Retro68-build/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake
# make
cmake_minimum_required(VERSION 2.8)
add_application(HelloWorld
hello.c
CONSOLE

View File

@ -1,5 +1,3 @@
cmake_minimum_required(VERSION 2.8)
set(CMAKE_C_FLAGS "-Wno-multichar")
set(CMAKE_EXE_LINKER_FLAGS "-Wl,-gc-sections")

View File

@ -21,8 +21,6 @@
# cmake .. -DCMAKE_TOOLCHAIN_FILE=path/to/Retro68-build/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake
# make
cmake_minimum_required(VERSION 2.8)
if(APPLE)
add_executable(Raytracer MACOSX_BUNDLE
raytracer.c

View File

@ -21,8 +21,6 @@
# cmake .. -DCMAKE_TOOLCHAIN_FILE=path/to/Retro68-build/toolchain/cmake/retro68.toolchain.cmake
# make
cmake_minimum_required(VERSION 2.8)
# This sample program contains a custom window definition procedure (WDEF) defined in wdef.c.
# It is used in two different ways:
# 1. The 80s way: compiled as a separate 'WDEF' code resource.

View File

@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with Retro68. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required(VERSION 2.8)
add_application(EmptyTest EmptyTest.c)
add_application(ExceptionTest CONSOLE ExceptionTest.cc)

View File

@ -21,8 +21,6 @@
# see the files COPYING and COPYING.RUNTIME respectively. If not, see
# <http://www.gnu.org/licenses/>.
cmake_minimum_required(VERSION 2.8)
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
find_program(CONVERT_OBJ ConvertObj PATH "${CMAKE_INSTALL_PREFIX}/../bin/")