mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-26 00:32:02 +00:00
minor cmakelists cleanup
This commit is contained in:
parent
a993bd3f7f
commit
c1839aed89
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
set(CMAKE_C_FLAGS "-Wno-multichar")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-Wl,-gc-sections")
|
||||
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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)
|
||||
|
@ -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/")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user