mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-28 08:49:20 +00:00
cmakefiles
This commit is contained in:
parent
fe39dbfb71
commit
68224d7e15
8
CMakeLists.txt
Normal file
8
CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
set(CMAKE_C_COMPILER "clang")
|
||||||
|
set(CMAKE_CXX_COMPILER "clang++")
|
||||||
|
set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ -Wall -g")
|
||||||
|
|
||||||
|
project(mpw)
|
||||||
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
|
||||||
|
add_subdirectory(bin)
|
5
bin/CMakeLists.txt
Normal file
5
bin/CMakeLists.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#set(CMAKE_C_COMPILER "clang")
|
||||||
|
#set(CMAKE_CXX_COMPILER "clang++")
|
||||||
|
set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ -Wall -g -Wno-deprecated-declarations ")
|
||||||
|
SET(CMAKE_EXE_LINKER_FLAGS "-framework Carbon")
|
||||||
|
add_executable(loader loader.cpp)
|
Loading…
Reference in New Issue
Block a user