Files
psat/CMakeLists.txt
gothictomato 53a580d0ec CSFLOC rewrite
Signed-off-by: gothictomato <gothictomato@pm.me>
2022-09-04 10:52:28 -04:00

9 lines
433 B
CMake

cmake_minimum_required(VERSION 3.22)
project(psat C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_FLAGS "-mavx2 -O3 -ftree-loop-linear -ftree-loop-im -ftree-loop-ivcanon -fivopts -ftree-vectorize")
add_executable(psat main.c cnf.c cnf.h time.c time.h types.h gpusolver.c gpusolver.h cpusolver.c cpusolver.h tests/masterTest.c tests/masterTest.h ncnf.c ncnf.h rng.h rng.c csflocref.c csflocref.h)
target_link_libraries(psat -lOpenCL -lgmp)