17 lines
323 B
CMake
17 lines
323 B
CMake
set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "")
|
|
|
|
add_subdirectory(yellowstone)
|
|
|
|
add_executable(test2
|
|
test2.cpp)
|
|
|
|
target_link_libraries(test2
|
|
cxx
|
|
mammoth_lib)
|
|
|
|
set_target_properties(test2
|
|
PROPERTIES
|
|
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}"
|
|
LINK_FLAGS "${CMAKE_EXE_LINK_FLAGS} ${BASE_LINK_FLAGS}"
|
|
)
|