9 lines
323 B
CMake
9 lines
323 B
CMake
cmake_minimum_required(VERSION 3.22)
|
|
project(psat C)
|
|
|
|
set(CMAKE_C_STANDARD 99)
|
|
set(CMAKE_C_FLAGS "-g")
|
|
|
|
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 subtree.c subtree.h ncnf.c ncnf.h)
|
|
|
|
target_link_libraries(psat -lOpenCL) |