Compare commits
2 Commits
8927d62cf3
...
6f32314daa
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f32314daa | |||
| ce8103fa81 |
@@ -2,9 +2,11 @@ cmake_minimum_required(VERSION 3.28.1)
|
|||||||
|
|
||||||
project(quantum-utils)
|
project(quantum-utils)
|
||||||
|
|
||||||
add_library(quantum SHARED ./quantum/src/test.c)
|
set(quantum-src "./quantum/src/")
|
||||||
|
set(test_stuff-src "./test_stuff/src/")
|
||||||
|
|
||||||
add_executable(test_stuff ./test_stuff/src/main.c)
|
add_library(quantum SHARED ${quantum-src}test.c)
|
||||||
|
add_executable(test_stuff ${test_stuff-src}main.c)
|
||||||
|
|
||||||
target_link_libraries(test_stuff quantum)
|
target_link_libraries(test_stuff quantum)
|
||||||
target_include_directories(test_stuff PUBLIC ./quantum/src/)
|
target_include_directories(test_stuff PUBLIC ${quantum-src})
|
||||||
|
|||||||
Reference in New Issue
Block a user