adding in crow_all.h for simplicity
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
CompileFlags:
|
CompileFlags:
|
||||||
Add: []
|
Add: ["/home/talksik/code/crow-build/include/"]
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,3 @@ file (GLOB header_files "${source_dir}/*.h")
|
|||||||
add_executable(HelloWorld ${source_files})
|
add_executable(HelloWorld ${source_files})
|
||||||
|
|
||||||
target_include_directories(HelloWorld PUBLIC ${include_dir})
|
target_include_directories(HelloWorld PUBLIC ${include_dir})
|
||||||
|
|
||||||
# Add the path to your library installation directory
|
|
||||||
list(APPEND CMAKE_PREFIX_PATH "/home/talksik/code/crow-build/")
|
|
||||||
find_package(Crow REQUIRED)
|
|
||||||
target_link_libraries(HelloWorld PUBLIC Crow::Crow)
|
|
||||||
|
|||||||
+12643
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,5 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include "../include/crow_all.h"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
std::cout << "Hello World!" << std::endl;
|
std::cout << "Hello World!" << std::endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user