Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Commit

Permalink
Merge pull request #8 from manjaro/development
Browse files Browse the repository at this point in the history
Merge Development into Master
  • Loading branch information
Manjaro Linux committed Nov 20, 2014
2 parents 4ba524a + bdf698f commit f22aaa8
Show file tree
Hide file tree
Showing 24 changed files with 3,251 additions and 2,612 deletions.
15 changes: 12 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
*~
build
CMakeLists.txt.user
libmhwd/cmake_install.cmake
libmhwd/libmhwd.so
src/cmake_install.cmake
src/mhwd
cmake_install.cmake
CMakeCache.txt
CMakeFiles
Makefile
*.o
*settings
*project
bin/*
12 changes: 9 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
cmake_minimum_required (VERSION 2.6)
project(mhwd)

SET(CMAKE_INSTALL_PREFIX "/usr/")
set(EXECUTABLE_OUTPUT_PATH ${mhwd_SOURCE_DIR}/bin)

add_definitions(-Wall)
set(CMAKE_INSTALL_PREFIX "/usr/")

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O2 -Wall -Wextra -Werror")

if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunreachable-code")
endif()

add_subdirectory(libmhwd)
add_subdirectory(mhwd)
add_subdirectory(src)
add_subdirectory(scripts)
8 changes: 1 addition & 7 deletions libmhwd/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
include_directories(. vita)
include_directories(. vita ${mhwd_SOURCE_DIR}/src)

###
### mhwd library
###

set( LIB_HEADERS
mhwd.h
mhwd_p.h
const.h
vita/string.hpp
)

set( LIB_SOURCES
mhwd.cpp
vita/string.cpp
)

Expand All @@ -26,6 +23,3 @@ target_link_libraries(mhwd ${LIB_LIBS})
INSTALL(TARGETS mhwd
LIBRARY DESTINATION lib
)

INSTALL(FILES mhwd.h
DESTINATION /usr/include)
Loading

0 comments on commit f22aaa8

Please sign in to comment.