mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 09:27:46 +00:00
Lagom: Move this into Meta/
This is more of a meta thing, since it's not seeing active development, but is just a way for me to build some Serenity parts and include them in other projects. Move it out of the root to keep things tidy.
This commit is contained in:
parent
618aebdd8a
commit
dcd10149fe
7 changed files with 0 additions and 0 deletions
32
Meta/Lagom/CMakeLists.txt
Normal file
32
Meta/Lagom/CMakeLists.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
cmake_minimum_required (VERSION 3.0)
|
||||
project (Lagom)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -Wall -Wextra -Werror -std=c++17 -fPIC -g")
|
||||
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wconsumed")
|
||||
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-expansion-to-defined")
|
||||
endif()
|
||||
|
||||
file(GLOB AK_SOURCES "../AK/*.cpp")
|
||||
file(GLOB LIBCORE_SOURCES "../Libraries/LibCore/*.cpp")
|
||||
file(GLOB LIBIPC_SOURCES "../Libraries/LibIPC/*.cpp")
|
||||
|
||||
set(SOURCES ${AK_SOURCES} ${LIBCORE_SOURCES} ${LIBIPC_SOURCES})
|
||||
|
||||
include_directories (../)
|
||||
include_directories (../Libraries/)
|
||||
add_library(lagom ${SOURCES})
|
||||
|
||||
add_executable(TestApp TestApp.cpp)
|
||||
target_link_libraries(TestApp lagom)
|
||||
target_link_libraries(TestApp stdc++)
|
||||
|
||||
#add_executable(SimpleIPCClient SimpleIPCClient.cpp)
|
||||
#target_link_libraries(SimpleIPCClient lagom)
|
||||
#target_link_libraries(SimpleIPCClient stdc++)
|
||||
|
||||
#add_executable(SimpleIPCServer SimpleIPCServer.cpp)
|
||||
#target_link_libraries(SimpleIPCServer lagom)
|
||||
#target_link_libraries(SimpleIPCServer stdc++)
|
Loading…
Add table
Add a link
Reference in a new issue