Changed binary directories Fixed cmake files Fixed naive 128bit sum implementation
20 lines
463 B
CMake
20 lines
463 B
CMake
project(cpplab)
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
|
|
|
add_subdirectory(src)
|
|
add_executable(cpplab main.cpp)
|
|
|
|
add_executable(
|
|
sse
|
|
src/core/cpu/naive.cpp
|
|
src/core/cpu/avx2.cpp
|
|
sse.cpp
|
|
)
|
|
|
|
add_executable(c_time time.cpp)
|
|
|
|
install(TARGETS cpplab RUNTIME DESTINATION bin)
|